Skip to content

Commit 0236339

Browse files
committed
ci(corepack): pinned the expected dev version of npm and explicitly used it for audit signatures
1 parent 0c12d5b commit 0236339

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
cache: npm
2525
node-version: lts/*
2626
- run: npm clean-install
27-
- run: npm audit signatures
27+
- run: corepack npm audit signatures
2828
- run: npx semantic-release
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
node-version: lts/*
4242
cache: npm
4343
- run: npm clean-install
44-
- run: npm audit signatures
44+
- run: corepack npm audit signatures
4545
- run: npm run lint
4646
- name: All matrix versions passed
4747
if: ${{ !(contains(needs.*.result, 'failure')) }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@
107107
"extends": [
108108
"github>semantic-release/.github:renovate-config"
109109
]
110-
}
110+
},
111+
"packageManager": "[email protected]+sha256.17ca6e08e7633b624e8f870db81a78f46afe119de62bcaf0a7407574139198fc"
111112
}

0 commit comments

Comments
 (0)