Skip to content

Commit

Permalink
Bump Node version to 18 (#209)
Browse files Browse the repository at this point in the history
* Bump Node version to 20

* Run tests also with Node 20

* Use Node v18
  • Loading branch information
nevalla authored Jan 24, 2024
1 parent 2f8b035 commit 5573d0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
steps:
- name: Checkout Release
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as build
FROM node:18-alpine as build

RUN mkdir /app
WORKDIR /app
Expand All @@ -9,7 +9,7 @@ RUN apk add --update python3 gcc g++ make && \
yarn dist && \
yarn install --frozen-lockfile --prod

FROM node:16-alpine
FROM node:20-alpine

RUN mkdir /app \
&& addgroup -S bored && adduser -S bored -G bored
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:18-alpine

RUN mkdir /app
WORKDIR /app
Expand Down

0 comments on commit 5573d0b

Please sign in to comment.