github node id #21
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: Test build frontend | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-frontend: | |
name: Build frontend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 21.x | |
cache: npm | |
cache-dependency-path: "**/package-lock.json" | |
- name: Install frontend dependencies | |
run: npm ci | |
working-directory: frontend | |
- name: Build frontend | |
run: npm run build | |
working-directory: frontend |