chore: fix tokens split tests #1
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 Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
- "release/*.*.*" | |
paths: | |
- "web/**" | |
jobs: | |
eslint-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: pnpm | |
cache-dependency-path: "web/pnpm-lock.yaml" | |
- run: pnpm install | |
working-directory: web | |
- run: pnpm type-gen | |
working-directory: web | |
- name: Run eslint check | |
run: pnpm lint | |
working-directory: web | |
frontend-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: pnpm | |
cache-dependency-path: "web/pnpm-lock.yaml" | |
- run: pnpm install | |
working-directory: web | |
- run: pnpm type-gen | |
working-directory: web | |
- name: Run frontend build | |
run: pnpm build | |
working-directory: web |