Skip to content

Commit 922193f

Browse files
ref: upgrade to node 16 (#523)
this is a stepping stone to get to a more modern docker / node
1 parent 359a3a5 commit 922193f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: ['14', '16']
14+
node: ['16', '18', '20']
1515
name: Node ${{ matrix.node }}
1616
steps:
1717
- uses: actions/checkout@v3

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14-buster-slim as builder
1+
FROM node:16-bullseye-slim as builder
22

33
WORKDIR /usr/local/lib
44

@@ -15,7 +15,7 @@ RUN \
1515
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/lib/node_modules/.bin" \
1616
yarn --modules-folder /usr/local/lib/node_modules build
1717

18-
FROM node:14-bullseye
18+
FROM node:16-bullseye
1919

2020
ENV DEBIAN_FRONTEND=noninteractive \
2121
DOTNET_CLI_TELEMETRY_OPTOUT=1 \

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"compile-config-schema": "node ./scripts/config-json-schema-to-ts.js"
101101
},
102102
"volta": {
103-
"node": "14.17.6",
103+
"node": "16.20.2",
104104
"yarn": "1.22.10"
105105
}
106106
}

0 commit comments

Comments
 (0)