Merge pull request #49 from crux-bphc/ml-training-validation #124
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: | |
- master | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: next-app | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: install | |
run: pnpm install --frozen-lockfile | |
- name: format and lint | |
run: pnpm prettier --check . && pnpm lint | |
- name: build | |
run: pnpm build |