Skip to content

Commit

Permalink
chore: use node 18 and 20
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlic committed Feb 8, 2024
1 parent b753f97 commit 8a3ec23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# build environment
FROM node:18-bullseye-slim AS builder
FROM node:20-bullseye-slim AS builder
# fix vulnerabilities
ARG NPM_TAG=9.6.4
ARG NPM_TAG=9.9.2
RUN npm install -g npm@${NPM_TAG}
# build it
WORKDIR /build
Expand All @@ -10,7 +10,7 @@ RUN npm ci
RUN npm run build

# run environment
FROM node:18.16.0-bullseye-slim
FROM node:20.11.0-bullseye-slim
# fix vulnerabilities
# note: trivy insists this to be on the same RUN line
RUN apt-get -y update && apt-get -y upgrade
Expand Down

0 comments on commit 8a3ec23

Please sign in to comment.