Skip to content

Commit be56ffb

Browse files
authored
ci(corepack): pinned the expected dev version of npm and explicitly used it for audit signatures (#764)
1 parent 702c68a commit be56ffb

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
@@ -35,6 +35,7 @@ jobs:
3535
node-version: "${{ matrix.node-version }}"
3636
cache: npm
3737
- run: npm clean-install
38+
- run: corepack npm audit signatures
3839
- run: npm test
3940

4041
test_dev:
@@ -46,7 +47,7 @@ jobs:
4647
node-version-file: .nvmrc
4748
cache: npm
4849
- run: npm clean-install
49-
- run: npm audit signatures
50+
- run: corepack npm audit signatures
5051
- run: npm test
5152

5253
test:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,6 @@
119119
"extends": [
120120
"github>semantic-release/.github:renovate-config"
121121
]
122-
}
122+
},
123+
"packageManager": "[email protected]+sha256.17ca6e08e7633b624e8f870db81a78f46afe119de62bcaf0a7407574139198fc"
123124
}

0 commit comments

Comments
 (0)