Skip to content

Commit 9d0b403

Browse files
committed
fix(ci): use pnpm install --frozen-lockfile
1 parent ff82f2c commit 9d0b403

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
node-version: 20
2424
cache: 'pnpm'
2525
- name: Install dependencies
26-
run: pnpm install
26+
run: pnpm install --frozen-lockfile
2727
- name: Run tests
2828
run: pnpm test
2929

@@ -43,8 +43,8 @@ jobs:
4343
registry-url: https://registry.npmjs.org/
4444
cache: 'pnpm'
4545
- name: Install dependencies
46-
run: pnpm install
46+
run: pnpm install --frozen-lockfile
4747
- name: Publish to npm
4848
run: pnpm publish --no-git-checks
4949
env:
50-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
50+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)