File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2424 NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
2525 GITHUB_TOKEN : ${{ inputs.github_token }}
2626 shell : bash
27- run : npx nx affected --base=last-release --target=version-publish
27+ run : pnpx nx affected --base=last-release --target=version-publish
2828
2929 - name : Tag last-release
3030 shell : bash
Original file line number Diff line number Diff line change 2222 git config --global user.name '@qwikifiers'
2323 git config --global user.email 'qwik-nx@users.noreply.github.com'
2424
25+ - name : Setup pnpm
26+ uses : pnpm/action-setup@v2.2.4
27+ with :
28+ version : 7
29+
2530 - name : Use Node
2631 uses : actions/setup-node@v3
2732 with :
3237 # It actually creates a .npmrc in a temporary folder
3338 # and sets the NPM_CONFIG_USERCONFIG environment variable.
3439 registry-url : https://registry.npmjs.org
35- cache : ' npm '
40+ cache : ' pnpm '
3641
3742 - name : Install dependencies
3843 shell : bash
39- run : npm ci
44+ run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ git checkout -b my-fix-branch master
5858
5959### ▶ 4. Make sure you add / modify tests
6060
61- Run ` npm run test` to make sure there aren't any errors
61+ Run ` pnpm run test` to make sure there aren't any errors
6262
6363<br />
6464
@@ -67,7 +67,7 @@ Run `npm run test` to make sure there aren't any errors
6767Instead of ` git commit ` use the following command:
6868
6969``` shell
70- npm run commit
70+ pnpm run commit
7171```
7272
7373It will then ask you a bunch of questions.
You can’t perform that action at this time.
0 commit comments