Skip to content

Commit

Permalink
Update Node.js to 20 (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit committed Feb 2, 2024
1 parent 09c613e commit 80296b4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action-build.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '20'
cache: 'yarn'

- run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '20'
cache: yarn
registry-url: https://registry.npmjs.org

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '20'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM node:18.7.0-alpine@sha256:4c8f734f33b4c8bb41c3caf17c61e6828e45cdc39dcc3fd495d0fb3213b33cfe
FROM node:20.11.0-alpine@sha256:9b61ed13fef9ca689326f40c0c0b4da70e37a18712f200b4c66d3b44fd59d98e
ARG NODE_ENV=production
ENV NODE_ENV=${NODE_ENV}
LABEL "repository"="https://github.com/release-drafter/release-drafter"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
@@ -1,7 +1,7 @@
name: 'Release Drafter'
description: 'Drafts your next release notes as pull requests are merged into master.'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: edit-2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -50,7 +50,7 @@
"prettier": "2.7.1"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"jest": {
"testEnvironment": "jest-environment-node",
Expand Down

0 comments on commit 80296b4

Please sign in to comment.