Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
ARG VARIANT="20"
ARG VARIANT="22-bookworm"

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}
FROM node:22.23.4-bookworm-slim@sha256:de170b39439eb0e5a3444ad7d60b015614a381e10fecae2e30ec9e735122f38d AS patched-node

FROM mcr.microsoft.com/devcontainers/javascript-node:1-${VARIANT}

# Patch the system binary and any inherited nvm copies used by interactive shells.
COPY --from=patched-node /usr/local/bin/node /tmp/patched-node
RUN install -m 0755 /tmp/patched-node /usr/local/bin/node \
&& if [ -d /usr/local/share/nvm/versions/node ]; then \
find /usr/local/share/nvm/versions/node -type f -path "*/bin/node" \
-exec install -m 0755 /tmp/patched-node {} \; ; \
fi \
&& rm /tmp/patched-node \
&& test "$(node --version)" = "v22.23.4" \
&& test "$(/usr/local/bin/node --version)" = "v22.23.4"
ENV NODE_VERSION=22.23.4

USER node
WORKDIR /home/node
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "20"
"VARIANT": "22-bookworm"
}
},
"extensions": [
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '20'
default: '22.23.4'
registry_url:
description: The Node.js package registry URL.
required: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: The Node.js version.
type: string
required: false
default: '20'
default: '22.23.4'
ref:
description: The git ref to build (defaults to the triggering ref).
type: string
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
os:
- ubuntu-latest
node:
- '18'
- '20'
- '22.23.4'
- '24.22.1'
include:
- os: ubuntu-latest
os_name: Linux
Expand All @@ -42,8 +42,8 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '20'
- '22.23.4'
- '24.22.1'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -67,8 +67,8 @@ jobs:
os:
- ubuntu-latest
node:
- '18'
- '20'
- '22.23.4'
- '24.22.1'
include:
- os: ubuntu-latest
os_name: Linux
Expand Down Expand Up @@ -113,8 +113,8 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '20'
- '22.23.4'
- '24.22.1'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22.23.4
Loading