mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-24 12:30:12 +08:00
Bump actions/setup-node from 4 to 5 in /.github/workflows (#59834)
* Bump actions/setup-node from 4 to 5 in /.github/workflows Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Disable package manager cache in setup-node action The upgrade to v5 of actions/setup-node has set `package-manager-cache` to `true` by default. This ends up requiring pnpm already be installed for some reason. Some people pre-install pnpm with an install-pnpm action but we already have a post-install action to run `corepack enable pnpm`. We do not want another specialised action to just install some node thing waiting for a supply chain attack. So just disabled the cache as it was before and get on with things. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cam Hutchison <camh@goteleport.com>
This commit is contained in:
co-authored by
Cam Hutchison
parent
1a7f37c13e
commit
9470b34f38
@@ -48,9 +48,10 @@ jobs:
|
||||
echo "rust: ${RUST_VERSION}"
|
||||
|
||||
- name: Install Node Toolchain
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
package-manager-cache: false
|
||||
|
||||
- name: Setup pnpm
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user