diff --git a/act/runner/testdata/actions/node24/action.yml b/act/runner/testdata/actions/node24/action.yml new file mode 100644 index 00000000..0f83974a --- /dev/null +++ b/act/runner/testdata/actions/node24/action.yml @@ -0,0 +1,5 @@ +name: 'using node24 action' +description: 'An action that has using:node24' +runs: + using: 'node24' + main: 'index.js' diff --git a/act/runner/testdata/actions/node24/index.js b/act/runner/testdata/actions/node24/index.js new file mode 100644 index 00000000..679a6f70 --- /dev/null +++ b/act/runner/testdata/actions/node24/index.js @@ -0,0 +1,3 @@ +// Note that the runner does not actually invoke different versions of node depending on the `using` tag, so this output +// isn't checked/asserted to ensure that the right version is in-use. It might as well be an empty script. +console.log('Current node.js version:', process.versions.node); diff --git a/act/runner/testdata/local-action-js/push.yml b/act/runner/testdata/local-action-js/push.yml index f97cf2ec..70638568 100644 --- a/act/runner/testdata/local-action-js/push.yml +++ b/act/runner/testdata/local-action-js/push.yml @@ -10,3 +10,4 @@ jobs: - uses: ./actions/node20 with: who-to-greet: 'Mona the Octocat' + - uses: ./actions/node24