Merge pull request #26 from clustlight/workflow/fix-frontend-check #4
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 Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.17.1' | |
- name: Change directory | |
run: cd frontend | |
- name: Install Dependencies | |
run: npm ci | |
- name: Run next lint | |
run: yarn run lint | |
- name: Run prettier check | |
run: yarn run prettier:check |