Skip to content

Commit

Permalink
ci(corepack): pinned the expected dev version of npm and explicitly u…
Browse files Browse the repository at this point in the history
…sed it for audit signatures (#3221)
  • Loading branch information
travi committed Mar 14, 2024
1 parent e6cac9a commit da191c2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: npm
node-version: lts/*
- run: npm clean-install
- run: npm audit signatures
- run: corepack npm audit signatures
# pinned version updated automatically by Renovate.
# details at https://semantic-release.gitbook.io/semantic-release/usage/installation#global-installation
- run: npx semantic-release@21.0.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -42,7 +42,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm clean-install
- run: npm audit signatures
- run: corepack npm audit signatures
- run: npm test

# verify against the node version defined for development in the .nvmrc
Expand All @@ -60,7 +60,7 @@ jobs:
node-version-file: .nvmrc
cache: npm
- run: npm clean-install
- run: npm audit signatures
- run: corepack npm audit signatures
- run: npm test

# separate job to set as required in branch protection,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -161,5 +161,6 @@
"extends": [
"github>semantic-release/.github:renovate-config"
]
}
},
"packageManager": "npm@10.5.0+sha256.17ca6e08e7633b624e8f870db81a78f46afe119de62bcaf0a7407574139198fc"
}

0 comments on commit da191c2

Please sign in to comment.