Skip to content

Commit 80296b4

Browse files
authored
Update Node.js to 20 (#1379)
1 parent 09c613e commit 80296b4

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/action-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
- uses: actions/setup-node@v3
3030
with:
31-
node-version: '16'
31+
node-version: '20'
3232
cache: 'yarn'
3333

3434
- run: yarn install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '16'
22+
node-version: '20'
2323
cache: yarn
2424
registry-url: https://registry.npmjs.org
2525

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: '16'
19+
node-version: '20'
2020
cache: 'yarn'
2121
- run: yarn install --frozen-lockfile
2222
- run: yarn test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18.7.0-alpine@sha256:4c8f734f33b4c8bb41c3caf17c61e6828e45cdc39dcc3fd495d0fb3213b33cfe
1+
FROM node:20.11.0-alpine@sha256:9b61ed13fef9ca689326f40c0c0b4da70e37a18712f200b4c66d3b44fd59d98e
22
ARG NODE_ENV=production
33
ENV NODE_ENV=${NODE_ENV}
44
LABEL "repository"="https://github.com/release-drafter/release-drafter"

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'Release Drafter'
22
description: 'Drafts your next release notes as pull requests are merged into master.'
33
runs:
4-
using: 'node16'
4+
using: 'node20'
55
main: 'dist/index.js'
66
branding:
77
icon: edit-2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"prettier": "2.7.1"
5151
},
5252
"engines": {
53-
"node": ">=16.0.0"
53+
"node": ">=20.0.0"
5454
},
5555
"jest": {
5656
"testEnvironment": "jest-environment-node",

0 commit comments

Comments
 (0)