Bump actions/checkout from 3 to 4 #637
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
# .github/workflows/frontend.yml | |
name: BUG Frontend | |
on: | |
push: | |
branches: | |
- "**" | |
paths-ignore: | |
- "**/README.md" | |
- "docs/**" | |
pull_request: | |
branches: | |
- "main" | |
paths-ignore: | |
- "**/README.md" | |
- "docs/**" | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16] | |
defaults: | |
run: | |
working-directory: ./src/client | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
name: Frontend Build & Test using Node.js ${{ matrix.node-version }} | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install --legacy-peer-deps | |
- run: npm test | |
- run: CI=false npm run build --if-present |