Skip to content

Commit 48c24e4

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

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
node-version: "${{ matrix.node-version }}"
2828
cache: npm
2929
- run: npm clean-install
30+
- run: corepack npm audit signatures
3031
- run: "npm run test:ci"
3132
test:
3233
runs-on: ubuntu-latest
@@ -38,7 +39,7 @@ jobs:
3839
node-version: "lts/*"
3940
cache: npm
4041
- run: npm clean-install
41-
- run: npm audit signatures
42+
- run: corepack npm audit signatures
4243
- name: Ensure dependencies are compatible with the version of node
4344
run: npx ls-engines
4445
- run: npm run lint

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@
101101
"extends": [
102102
"github>semantic-release/.github:renovate-config"
103103
]
104-
}
104+
},
105+
"packageManager": "[email protected]+sha256.17ca6e08e7633b624e8f870db81a78f46afe119de62bcaf0a7407574139198fc"
105106
}

0 commit comments

Comments
 (0)