File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,20 +15,24 @@ jobs:
1515 with :
1616 fetch-depth : 0
1717
18+ - uses : pnpm/action-setup@v4.2.0
19+ with :
20+ run_install : false
21+
1822 - name : Setup Node.js
1923 uses : actions/setup-node@v6.0.0
2024 with :
21- node-version-file : " package.json"
22- cache : ' npm '
25+ node-version-file : ' package.json'
26+ cache : ' pnpm '
2327
2428 - name : Install dependencies
25- run : npm ci
29+ run : pnpm --frozen-lockfile
2630
2731 - name : Run type checking
28- run : npm run type-check
32+ run : pnpm type-check
2933
3034 - name : Build userscripts
31- run : npm run build
35+ run : pnpm build
3236
3337 - name : Checkout dist branch
3438 run : |
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v5
10+ - uses : pnpm/action-setup@v4.2.0
11+ with :
12+ run_install : false
1013 - uses : actions/setup-node@v6.0.0
1114 with :
12- node-version-file : " package.json"
13- cache : ' npm '
15+ node-version-file : ' package.json'
16+ cache : ' pnpm '
1417 - name : ' Install dependencies'
15- run : npm install
18+ run : pnpm --frozen-lockfile
1619 - name : ' Run type checking'
17- run : npm run type-check
20+ run : pnpm type-check
1821 - name : ' Run linter'
19- run : npm run lint
22+ run : pnpm lint
2023 - name : ' Build userscripts'
21- run : npm run build
24+ run : pnpm build
2225 auto-merge :
2326 name : ' dependabot-auto-merge'
2427 needs : linter
Original file line number Diff line number Diff line change 55.idea /
66* .iml
77
8- # NPM
98node_modules /
109
1110# Build output
Original file line number Diff line number Diff line change 1- package -lock.json
1+ pnpm -lock.yaml
You can’t perform that action at this time.
0 commit comments