Skip to content

Commit 98d1913

Browse files
authored
feat: Bump to node 20.19.2 (#284)
1 parent ec695e2 commit 98d1913

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
needs: docker-build
162162
runs-on: ubuntu-latest
163163
container:
164-
image: node:18.17
164+
image: node:20.19.2
165165

166166
steps:
167167
- uses: actions/checkout@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The multi stage set up *saves* up image size by avoiding the dev dependencies
22
# required to produce dist/
3-
FROM node:18-alpine AS builder
3+
FROM node:20-alpine AS builder
44
WORKDIR /app
55
# This layer will invalidate upon new dependencies
66
COPY package.json yarn.lock ./
@@ -12,7 +12,7 @@ RUN export YARN_CACHE_FOLDER="$(mktemp -d)" \
1212
COPY . .
1313
RUN yarn build
1414

15-
FROM node:18-alpine AS app
15+
FROM node:20-alpine AS app
1616
COPY package.json yarn.lock /action-release/
1717
# On the builder image, we install both types of dependencies rather than
1818
# just the production ones. This generates /action-release/node_modules

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ runs:
148148
INPUT_WORKING_DIRECTORY: ${{ inputs.working_directory }}
149149
INPUT_DISABLE_TELEMETRY: ${{ inputs.disable_telemetry }}
150150
INPUT_DISABLE_SAFE_DIRECTORY: ${{ inputs.disable_safe_directory }}
151-
uses: docker://ghcr.io/getsentry/action-release-image:master
151+
uses: docker://ghcr.io/getsentry/action-release-image:ab-node-20
152152

153153
# For actions running on macos or windows runners, we use a composite
154154
# action approach which allows us to install the arch specific sentry-cli
@@ -177,7 +177,7 @@ runs:
177177
# setup-node doesn't allow absolute paths, so we can't
178178
# just use `github.action_path` to read this out from the `package.json`
179179
# any changes to the runtime need to be reflected here
180-
node-version: 18.17.0
180+
node-version: 20.19.2
181181

182182
- name: Install Sentry CLI v2
183183
if: runner.os == 'macOS' || runner.os == 'Windows'

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123593,7 +123593,7 @@ module.exports = JSON.parse('{"eN":{"H":"https://github.com/elastic/require-in-t
123593123593
/***/ ((module) => {
123594123594

123595123595
"use strict";
123596-
module.exports = JSON.parse('{"name":"action-release","version":"3.1.2","private":true,"description":"GitHub Action for creating a release on Sentry","main":"dist/index.js","scripts":{"all":"yarn run format && yarn run lint && yarn run build && yarn test","build":"ncc build src/main.ts -e @sentry/cli","format":"prettier --write **/*.ts **/*.md","format-check":"prettier --check **/*.ts **/*.md","lint":"eslint src/**/*.ts","set-docker-tag":"./scripts/set-docker-tag.sh","set-docker-tag-from-branch":"./scripts/set-docker-tag-from-branch.sh","start":"node dist/index.js","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/getsentry/action-release.git"},"keywords":["actions","sentry","release"],"author":"Sentry","license":"MIT","dependencies":{"@actions/core":"^1.11.1","@sentry/node":"^8.54.0","@sentry/cli":"^2.41.1"},"devDependencies":{"@types/jest":"^29.5.6","@types/node":"^20.8.9","@typescript-eslint/parser":"^6.9.0","@vercel/ncc":"^0.38.1","eslint":"^8.52.0","eslint-plugin-github":"^4.10.1","eslint-plugin-jest":"^27.4.3","jest":"^29.7.0","jest-circus":"^29.7.0","js-yaml":"^4.1.0","prettier":"^3.0.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"volta":{"node":"18.17.0","yarn":"1.22.4"}}');
123596+
module.exports = JSON.parse('{"name":"action-release","version":"3.1.2","private":true,"description":"GitHub Action for creating a release on Sentry","main":"dist/index.js","scripts":{"all":"yarn run format && yarn run lint && yarn run build && yarn test","build":"ncc build src/main.ts -e @sentry/cli","format":"prettier --write **/*.ts **/*.md","format-check":"prettier --check **/*.ts **/*.md","lint":"eslint src/**/*.ts","set-docker-tag":"./scripts/set-docker-tag.sh","set-docker-tag-from-branch":"./scripts/set-docker-tag-from-branch.sh","start":"node dist/index.js","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/getsentry/action-release.git"},"keywords":["actions","sentry","release"],"author":"Sentry","license":"MIT","dependencies":{"@actions/core":"^1.11.1","@sentry/node":"^8.54.0","@sentry/cli":"^2.41.1"},"devDependencies":{"@types/jest":"^29.5.6","@types/node":"^20.8.9","@typescript-eslint/parser":"^6.9.0","@vercel/ncc":"^0.38.1","eslint":"^8.52.0","eslint-plugin-github":"^4.10.1","eslint-plugin-jest":"^27.4.3","jest":"^29.7.0","jest-circus":"^29.7.0","js-yaml":"^4.1.0","prettier":"^3.0.3","ts-jest":"^29.1.1","typescript":"^5.2.2"},"volta":{"node":"20.19.2","yarn":"1.22.4"}}');
123597123597

123598123598
/***/ })
123599123599

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"typescript": "^5.2.2"
4848
},
4949
"volta": {
50-
"node": "18.17.0",
50+
"node": "20.19.2",
5151
"yarn": "1.22.4"
5252
}
5353
}

0 commit comments

Comments
 (0)