File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 fail_ci_if_error : false
4141 token : ${{ secrets.CODECOV_TOKEN }}
4242
43- lint :
44- name : Lint
45- runs-on : ubuntu-latest
46-
47- steps :
48- - name : Checkout code
49- uses : actions/checkout@v6
50-
51- - name : Setup pnpm
52- uses : pnpm/action-setup@v4
53-
54- - name : Setup Node.js
55- uses : actions/setup-node@v6
56- with :
57- node-version : ' 20.x'
58- cache : ' pnpm'
59-
60- - name : Turbo Cache
61- uses : actions/cache@v5
62- with :
63- path : node_modules/.cache/turbo
64- key : turbo-${{ runner.os }}-${{ github.sha }}
65- restore-keys : |
66- turbo-${{ runner.os }}-
67-
68- - name : Install dependencies
69- run : pnpm install --frozen-lockfile
70-
71- - name : Run linter
72- run : pnpm lint
73-
7443 build :
7544 name : Build Core
7645 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ workflow_dispatch :
5+
6+ concurrency :
7+ group : lint-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ lint :
15+ name : Lint
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout code
20+ uses : actions/checkout@v6
21+
22+ - name : Setup pnpm
23+ uses : pnpm/action-setup@v4
24+
25+ - name : Setup Node.js
26+ uses : actions/setup-node@v6
27+ with :
28+ node-version : ' 20.x'
29+ cache : ' pnpm'
30+
31+ - name : Turbo Cache
32+ uses : actions/cache@v5
33+ with :
34+ path : node_modules/.cache/turbo
35+ key : turbo-${{ runner.os }}-${{ github.sha }}
36+ restore-keys : |
37+ turbo-${{ runner.os }}-
38+
39+ - name : Install dependencies
40+ run : pnpm install --frozen-lockfile
41+
42+ - name : Run linter
43+ run : pnpm lint
You can’t perform that action at this time.
0 commit comments