Fix: Nova doesn't work #966
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: Frontend tests | |
on: | |
pull_request: | |
branches: | |
- main | |
- v1 | |
- v2 | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: | | |
cd frontend | |
npm ci | |
- name: Lint frontend | |
run: | | |
cd frontend | |
npm run lint | |
- name: Build frontend | |
run: | | |
cd frontend | |
npm run build | |
- name: Check build status | |
run: | | |
cd frontend | |
if [ -d "dist" ]; then | |
echo "Build successful" | |
else | |
echo "Build failed" | |
exit 1 | |
fi |