diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..360c0fc --- /dev/null +++ b/.github/workflows/node.js.yml @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..c57dd60 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +A reproduction for . + +[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 +. +(Note: contains a possible fix.) diff --git a/node.js b/node.js new file mode 100644 index 0000000..6be6174 --- /dev/null +++ b/node.js @@ -0,0 +1,2 @@ +// A non-empty JavaScript file +module.exports = true;