diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 572355556..03e6d1777 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -420,6 +420,9 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v5 + - uses: actions/setup-node@v5 + with: + node-version: '24' - run: yarn install - run: yarn run package - name: Check generated files are up to date diff --git a/action.yml b/action.yml index 3e052125e..d0a61121a 100644 --- a/action.yml +++ b/action.yml @@ -49,5 +49,5 @@ outputs: ruby-prefix: description: 'The prefix of the installed ruby' runs: - using: 'node20' + using: 'node24' main: 'dist/index.js' diff --git a/package.json b/package.json index e54417cc3..3902a9489 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.1.0", "description": "Download a prebuilt Ruby and add it to the PATH in 5 seconds", "main": "index.js", + "engines": { + "node": ">=24.0.0" + }, "license": "MIT", "scripts": { "package": "ncc build index.js -o dist"