Skip to content

Commit

Permalink
build!: upgrade to v20 LTS (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajohn25 authored Sep 25, 2024
1 parent 28a793f commit b1d2ff1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
strategy:
matrix:
node-version:
- 18.16.0-buster

- 20.16.0-bullseye
container:
image: node:${{ matrix.node-version }}

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.16
20.16
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN jq '{ dependencies, devDependencies, resolutions }' < /tmp/package.json > /t

### Fat Build
### -------------------------
FROM node:18.16.0 AS builder
FROM node:20.16.0 AS builder

WORKDIR /usr/Spoke

Expand All @@ -36,7 +36,7 @@ RUN yarn run build

### Slim Deploy
### -------------------------
FROM node:18.16.0
FROM node:20.16.0

WORKDIR /usr/Spoke

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ that goal. See [`HOWTO_migrate-from-moveon-main.md`](./docs/HOWTO_migrate-from-m

Runtimes and package managers:

- Node (^18.16)
- Node (^20.16)
- Yarn (>= 1.19.1)

External services:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"engines": {
"npm": "please-use-yarn",
"yarn": ">= 1.19.1",
"node": "^18.16.0"
"node": "^20.16.0"
},
"scripts": {
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('spoke must be installed with Yarn: https://yarnpkg.com/')\"",
Expand Down

0 comments on commit b1d2ff1

Please sign in to comment.