Skip to content

Commit 768cc4e

Browse files
committed
chore: updated to pnpm
1 parent 435a476 commit 768cc4e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/actions/release/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
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

.github/actions/setup/action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ runs:
2222
git config --global user.name '@qwikifiers'
2323
git config --global user.email '[email protected]'
2424
25+
- name: Setup pnpm
26+
uses: pnpm/[email protected]
27+
with:
28+
version: 7
29+
2530
- name: Use Node
2631
uses: actions/setup-node@v3
2732
with:
@@ -32,8 +37,8 @@ runs:
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

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
6767
Instead of `git commit` use the following command:
6868

6969
```shell
70-
npm run commit
70+
pnpm run commit
7171
```
7272

7373
It will then ask you a bunch of questions.

0 commit comments

Comments
 (0)