Automatic ASF-WebConfigGenerator deployment #3622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ASF-WebConfigGenerator-ci | |
on: [push, pull_request] | |
env: | |
NODE_JS_VERSION: 'lts/*' | |
permissions: {} | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Setup Node.js with npm | |
uses: actions/[email protected] | |
with: | |
check-latest: true | |
node-version: ${{ env.NODE_JS_VERSION }} | |
- name: Verify Node.js | |
run: node -v | |
- name: Verify npm | |
run: npm -v | |
- name: Install npm modules for ASF-WebConfigGenerator | |
run: npm ci --no-progress | |
- name: Build ASF-WebConfigGenerator | |
run: npm run-script build --no-progress | |
- name: Upload ASF-WebConfigGenerator | |
uses: actions/[email protected] | |
with: | |
if-no-files-found: error | |
name: ${{ matrix.os }}_ASF-WebConfigGenerator | |
path: docs |