Skip to content

Commit

Permalink
ref: upgrade craft to node 18 (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile-sentry authored Mar 18, 2024
1 parent 01b5c27 commit 72c53ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16', '18', '20']
node: ['18', '20']
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
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-bullseye-slim as builder
FROM node:18-bullseye-slim as builder

WORKDIR /usr/local/lib

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

FROM node:16-bullseye
FROM node:18-bullseye

ENV DEBIAN_FRONTEND=noninteractive \
DOTNET_CLI_TELEMETRY_OPTOUT=1 \
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"compile-config-schema": "node ./scripts/config-json-schema-to-ts.js"
},
"volta": {
"node": "16.20.2",
"yarn": "1.22.10"
"node": "18.19.1",
"yarn": "1.22.19"
}
}

0 comments on commit 72c53ff

Please sign in to comment.