diff --git a/.github/workflows/publish-deps.yml b/.github/workflows/publish-deps.yml index 8d3293e03..7df74a6ca 100644 --- a/.github/workflows/publish-deps.yml +++ b/.github/workflows/publish-deps.yml @@ -10,7 +10,7 @@ permissions: jobs: publish: - # Must match glibc verison in node:20 + # Must match glibc verison in node:22 runs-on: ubuntu-22.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/validate-python-types.yml b/.github/workflows/validate-python-types.yml index e335c4e21..b5fe182e6 100644 --- a/.github/workflows/validate-python-types.yml +++ b/.github/workflows/validate-python-types.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: - node-version: '20' + node-version-file: '.nvmrc' cache: 'npm' - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index 85aee5a53..92f279e3e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20 \ No newline at end of file +v22 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index df79412a6..2cccf7e62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 AS build +FROM node:22 AS build WORKDIR /usr/src/app # Do `npm ci` separately so we can cache `node_modules` # https://nodejs.org/en/docs/guides/nodejs-docker-webapp/ @@ -7,7 +7,7 @@ RUN npm clean-install COPY . . RUN npm run build && npm prune --omit=dev -FROM node:20-slim +FROM node:22-slim RUN apt-get update && apt-get install -y \ ca-certificates \ && rm -rf /var/lib/apt/lists/*