File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : PR
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ concurrency :
9+ group : pr-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v6
17+ - run : corepack enable
18+ - uses : actions/setup-node@v6
19+ with :
20+ node-version : ' 24'
21+ cache : ' pnpm'
22+ - run : pnpm install --frozen-lockfile
23+ - name : Format check
24+ run : pnpm format:check
25+ - name : Lint
26+ run : pnpm lint:check
27+
28+ test :
29+ needs : lint
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v6
33+ - run : corepack enable
34+ - uses : actions/setup-node@v6
35+ with :
36+ node-version : ' 24'
37+ cache : ' pnpm'
38+ - run : pnpm install --frozen-lockfile
39+ - name : Tests (unit + nuxt)
40+ run : pnpm test-all
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments