GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — fix: no-ticket: use relative node-version-file path for setup-node v7.1.0 by mofojed · Pull Request #8948 · deephaven/deephaven-core Conversation
Member
The "Update web version" workflow started failing with: Error: The specified node version file at: /web/client-api/types/.nvmrc does not exist The failure began after Dependabot bumped actions/setup-node from v7.0.0 Drop the leading slash so the path resolves relative to the workspace. Release notes: https://github.com/actions/setup-node/releases/tag/v7.1.0
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions….1.0 The "Update web version" workflow started failing with: Error: The specified node version file at: /web/client-api/types/.nvmrc does not exist The failure began after Dependabot bumped actions/setup-node from v7.0.0 to v7.1.0 (7212db0). v7.1.0 added "Support absolute paths in node-version-file" (actions/setup-node#1633). Previously the input was always joined onto $GITHUB_WORKSPACE, so the leading "/" was harmless. Now a path starting with "/" is treated as absolute on the runner filesystem, so the action looked outside the checkout. Drop the leading slash so the path resolves relative to the workspace. The leading slashes under sparse-checkout are git patterns anchored at the repo root and are unaffected. Release notes: https://github.com/actions/setup-node/releases/tag/v7.1.0
mofojed
requested review from
JamesXNelson,
cpwright,
devinrsmith,
jcferretti and
rcaudy
as code owners
|
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No docs changes detected for ed6f6c4 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The relative path matches the checked-out file and setup-node’s path resolution behavior.
No open issues 🎉
Fixes Node setup in the “Update web version” workflow after the setup-node v7.1.0 upgrade.
Changes:
node-version-file relative to the workspace.| File | Description |
|---|---|
.github/workflows/update-web.yml |
Removes the leading slash from the .nvmrc path. |
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.