Bump the node-requirements group across 1 directory with 20 updates #72
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 CI | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- "frontend/**" | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "frontend/**" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
frontend-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: cd ./frontend && npm install --include=dev | |
- name: Run prettier on frontend | |
run: cd ./frontend && npm run check-format | |
- name: Run eslint on frontend | |
run: cd ./frontend && npm run lint |