Bump the npm-dependencies group with 10 updates (#6) #12
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
on: | |
push: | |
branches: | |
- master | |
- develop | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
- '[0-9]+.[0-9]+.[0-9]+-*' | |
pull_request: | |
branches: | |
- master | |
- develop | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: # Manually invoked by user. | |
name: ci-build | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install dependencies | |
shell: bash | |
run: npm ci | |
- name: Check | |
shell: bash | |
run: npm run check | |
- name: Install playwright | |
run: npx playwright install | |
- name: Test | |
shell: bash | |
run: npm test | |
- name: Build | |
shell: bash | |
run: npm run build | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: frontend | |
path: build/* | |
retention-days: 1 | |
if-no-files-found: error |