diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 50cea508ea..769d36a5cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn test diff --git a/.vscode/settings.json b/.vscode/settings.json index eadcfa1dde..58aaa72da9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,5 @@ { "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" - }, - "files.exclude": { - "dist/": true } } diff --git a/action.yml b/action.yml index b26bad7b88..417d823f70 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ name: 'Release Drafter' description: 'Drafts your next release notes as pull requests are merged into master.' runs: - using: 'node20' + using: 'node24' main: 'dist/index.js' branding: icon: edit-2 diff --git a/package.json b/package.json index 0b9aa1620b..6344bcbe15 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "ISC", "repository": "https://github.com/release-drafter/release-drafter", "scripts": { - "build": "ncc build action.js --target es2021", + "build": "ncc build action.js --target es2023", "start": "probot run ./index.js", "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch --notify --notifyMode=change --coverage", @@ -49,7 +49,7 @@ "prettier": "2.7.1" }, "engines": { - "node": ">=20.0.0" + "node": ">=24.0.0" }, "jest": { "testEnvironment": "jest-environment-node",