File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,18 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1616
17+ - uses : pnpm/action-setup@v4
18+ with :
19+ version : 9.15.4
20+
1721 - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
1822 with :
1923 node-version : ' 20'
20- cache : ' npm '
24+ cache : ' pnpm '
2125
22- - run : npm ci
26+ - run : pnpm install --frozen-lockfile
2327
24- - run : npm run build -w @retort-plugins/router
28+ - run : pnpm --filter @retort-plugins/router build
2529
2630 - name : Regenerate embeddings index
2731 run : node packages/router/scripts/generate-embeddings.mjs
Original file line number Diff line number Diff line change @@ -13,30 +13,34 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1515
16+ - uses : pnpm/action-setup@v4
17+ with :
18+ version : 9.15.4
19+
1620 - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
1721 with :
1822 node-version : ' 20'
19- cache : ' npm '
23+ cache : ' pnpm '
2024
21- - run : npm ci
25+ - run : pnpm install --frozen-lockfile
2226
2327 - name : Build router
24- run : npm run build -w @retort-plugins/router
28+ run : pnpm --filter @retort-plugins/router build
2529
2630 - name : Test router
27- run : npm run test -w @retort-plugins/router
31+ run : pnpm --filter @retort-plugins/router test
2832
2933 - name : Build UI
30- run : npm run build -w @retort-plugins/ui
34+ run : pnpm --filter @retort-plugins/ui build
3135
3236 - name : Build state-watcher
33- run : npm run build -w @retort-plugins/state-watcher
37+ run : pnpm --filter @retort-plugins/state-watcher build
3438
3539 - name : Build VSCode extension
36- run : npm run build -w @retort-plugins/vscode
40+ run : pnpm --filter @retort-plugins/vscode build
3741
3842 - name : Typecheck all
39- run : npm run typecheck --workspaces --if-present
43+ run : pnpm -r --if-present typecheck
4044
4145 - name : Lint all
42- run : npm run lint --workspaces --if-present
46+ run : pnpm -r --if-present lint
You can’t perform that action at this time.
0 commit comments