Skip to content

Commit 52f798a

Browse files
committed
Setup pnpm before setup-node
1 parent df496c6 commit 52f798a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/provenance.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
25+
with:
26+
version: 10
27+
run_install: false
2428
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2529
with:
2630
node-version: '22'
2731
registry-url: 'https://registry.npmjs.org'
2832
cache: pnpm
2933
scope: '@socketsecurity'
30-
- run: npm install -g pnpm@latest
3134
- run: pnpm install --ci
3235
- run: INLINED_SOCKET_CLI_PUBLISHED_BUILD=1 pnpm run build:dist
3336
- run: pnpm publish --provenance --access public

0 commit comments

Comments
 (0)