mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
test case w/ using:node24
This commit is contained in:
parent
7ff3f7da0f
commit
5282c51b3c
3 changed files with 9 additions and 0 deletions
5
act/runner/testdata/actions/node24/action.yml
vendored
Normal file
5
act/runner/testdata/actions/node24/action.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
name: 'using node24 action'
|
||||||
|
description: 'An action that has using:node24'
|
||||||
|
runs:
|
||||||
|
using: 'node24'
|
||||||
|
main: 'index.js'
|
3
act/runner/testdata/actions/node24/index.js
vendored
Normal file
3
act/runner/testdata/actions/node24/index.js
vendored
Normal file
|
@ -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);
|
1
act/runner/testdata/local-action-js/push.yml
vendored
1
act/runner/testdata/local-action-js/push.yml
vendored
|
@ -10,3 +10,4 @@ jobs:
|
||||||
- uses: ./actions/node20
|
- uses: ./actions/node20
|
||||||
with:
|
with:
|
||||||
who-to-greet: 'Mona the Octocat'
|
who-to-greet: 'Mona the Octocat'
|
||||||
|
- uses: ./actions/node24
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue