1212 with :
1313 version : ' v0.3.0'
1414 token : ${{ secrets.GITHUB_TOKEN }}
15+ cache : true
16+
17+ - name : Setup pnpm
18+ uses : pnpm/action-setup@v4
19+ with :
20+ cache : true
1521
1622 - name : Setup npm for GitHub Packages
1723 run : |
@@ -23,37 +29,16 @@ jobs:
2329 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2430 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2531
26- - name : Run `npm install --no-package-lock` on cli-output-helpers
27- run : npm install --no-package-lock --no-fund
28- working-directory : tools/cli-output-helpers
29-
30- - name : Build cli-output-helpers
31- run : npm run build
32- working-directory : tools/cli-output-helpers
32+ - name : Install dependencies
33+ run : pnpm install --frozen-lockfile
3334
34- - name : Run `npm install --no-package-lockd` on nevermore-template-helpers
35- run : npm install --no-package-lock --no-fund
36- working-directory : tools/nevermore-template-helpers
37-
38- - name : Build nevermore-template-helpers
39- run : npm run build
40- working-directory : tools/nevermore-template-helpers
41-
42- - name : Run `npm install --no-package-lock` on nevermore-cli
43- run : npm install --no-package-lock --no-fund
44- working-directory : tools/nevermore-cli
45-
46- - name : Build nevermore-cli
47- run : npm run build
48- working-directory : tools/nevermore-cli
35+ - name : Build all tools
36+ run : pnpm -r --filter './tools/**' --filter '!./tools/nevermore-vscode' run build
4937
5038 - name : Install nevermore-cli locally
5139 run : npm install -g .
5240 working-directory : tools/nevermore-cli
5341
54- - name : Link and install packages
55- run : npm run build:link
56-
5742 - name : Generate Sourcemap
5843 run : npm run build:sourcemap
5944
7156 with :
7257 version : ' v0.3.0'
7358 token : ${{ secrets.GITHUB_TOKEN }}
59+ cache : true
7460
7561 - name : stylua check
7662 run : npm run lint:stylua
8672 with :
8773 version : ' v0.3.0'
8874 token : ${{ secrets.GITHUB_TOKEN }}
75+ cache : true
8976
9077 - name : selene check
9178 run : npm run lint:selene
10188 with :
10289 version : ' v0.3.0'
10390 token : ${{ secrets.GITHUB_TOKEN }}
91+ cache : true
10492
10593 - name : Run moonwave-extractor
10694 run : npm run lint:moonwave
0 commit comments