Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] Pin GitHub actions/setup-node to v3.6.0 #3911

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Conversation

36degrees
Copy link
Contributor

@36degrees 36degrees commented Jul 6, 2023

Cherry-picking @colinrotherham's fix from #3909 to make the same changes on the main branch.


Workaround for an npm cache path issue throwing the error:

Post job cleanup.
Error: Cache folder paths are not retrieved for npm with cache-dependency-path =

This is because our "warm" test runs have node_modules cached already so we configure actions/setup-node to skip cache restoration for the npm get cache directory as we don't need it (and it's slow to restore on Windows):

with:
  cache: ${{ inputs.use-cache != 'false' && 'npm' || '' }}
  node-version-file: .nvmrc

This tip was documented in Usage:

# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.
# Package manager should be pre-installed
# Default: ''
cache: ''

Rolling back to unblock the release

Workaround for an npm cache path issue throwing the error:

```
Post job cleanup.
Error: Cache folder paths are not retrieved for npm with cache-dependency-path =
```
@36degrees 36degrees requested a review from a team as a code owner July 6, 2023 11:01
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3911 July 6, 2023 11:01 Inactive
@36degrees 36degrees changed the title Pin GitHub actions/setup-node to v3.6.0 [main] Pin GitHub actions/setup-node to v3.6.0 Jul 6, 2023
@colinrotherham
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants