π From dev β Bump version: v1.0.5-dev into test (#20) #56
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/node.yml | |
name: Node CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["22.x"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install frontend dependencies | |
run: | | |
npm install | |
npm ci | |
working-directory: frontend | |
- name: Format frontend project | |
run: npm run format | |
working-directory: frontend | |
- name: Lint frontend project | |
run: npm run lint | |
working-directory: frontend | |
- name: Build Frontend project | |
run: npm run build --if-present | |
working-directory: frontend |