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 24
24
NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
25
25
GITHUB_TOKEN : ${{ inputs.github_token }}
26
26
shell : bash
27
- run : npx nx affected --base=last-release --target=version-publish
27
+ run : pnpx nx affected --base=last-release --target=version-publish
28
28
29
29
- name : Tag last-release
30
30
shell : bash
Original file line number Diff line number Diff line change 22
22
git config --global user.name '@qwikifiers'
23
23
git config --global user.email '[email protected] '
24
24
25
+ - name : Setup pnpm
26
+
27
+ with :
28
+ version : 7
29
+
25
30
- name : Use Node
26
31
uses : actions/setup-node@v3
27
32
with :
32
37
# It actually creates a .npmrc in a temporary folder
33
38
# and sets the NPM_CONFIG_USERCONFIG environment variable.
34
39
registry-url : https://registry.npmjs.org
35
- cache : ' npm '
40
+ cache : ' pnpm '
36
41
37
42
- name : Install dependencies
38
43
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
58
58
59
59
### ▶ 4. Make sure you add / modify tests
60
60
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
62
62
63
63
<br />
64
64
@@ -67,7 +67,7 @@ Run `npm run test` to make sure there aren't any errors
67
67
Instead of ` git commit ` use the following command:
68
68
69
69
``` shell
70
- npm run commit
70
+ pnpm run commit
71
71
```
72
72
73
73
It will then ask you a bunch of questions.
You can’t perform that action at this time.
0 commit comments