-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create reproduction for actions/setup-node#720
https://github.com/actions/setup-node/issues/720 Signed-off-by: Kevin Locke <[email protected]>
- Loading branch information
0 parents
commit df52caa
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Failing Workflow | ||
on: # yamllint disable-line rule:truthy | ||
push: {} | ||
workflow_dispatch: {} | ||
jobs: | ||
test: | ||
name: Checkout and Setup | ||
timeout-minutes: 2 | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
A reproduction for <https://github.com/actions/setup-node/issues/720>. | ||
|
||
[Actions](https://github.com/kevinoid/setup-node-issue-720/actions) hang on | ||
step `actions/setup-node@v4` due to the presence of a non-empty `node.js` | ||
file. A 2 minute timeout is added to cause the workflow to fail after waiting | ||
a reasonable amount of time. The hang occurs due to | ||
<https://github.com/npm/cmd-shim/issues/71>. | ||
(Note: <https://github.com/npm/cmd-shim/pull/64> contains a possible fix.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// A non-empty JavaScript file | ||
module.exports = true; |