Cross button visibility settings #129
Workflow file for this run
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: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14, 16, 18, 20] | |
steps: | |
- name: Getting configuration from GitHub | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run build | |
run: | | |
npm ci | |
npm run build:prod --if-present | |
node -v > dist/node-version.txt | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: dist-node-${{ matrix.node-version }} | |
path: dist |