From a8ce4fb5bb24f43dbfb685c3a68e018f8ce56a8a Mon Sep 17 00:00:00 2001 From: Marcin Ciarka Date: Mon, 25 Mar 2024 17:48:55 +0100 Subject: [PATCH] Update Node.js version to 18.19.1 --- .codesandbox/Dockerfile | 2 +- .github/workflows/aws-staging.yaml | 2 +- .github/workflows/build.yml | 10 +++++----- .github/workflows/dev-cache.yaml | 8 ++++---- .github/workflows/nextjs-bundle-analysis.yml | 2 +- .github/workflows/prod-cache.yaml | 8 ++++---- .github/workflows/release.yaml | 2 +- .nvmrc | 2 +- Dockerfile.production | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.codesandbox/Dockerfile b/.codesandbox/Dockerfile index 26950f92f0..79d40cd0d2 100644 --- a/.codesandbox/Dockerfile +++ b/.codesandbox/Dockerfile @@ -1 +1 @@ -FROM node:18.12 +FROM node:18.19.1 diff --git a/.github/workflows/aws-staging.yaml b/.github/workflows/aws-staging.yaml index 63eb5a9596..cc929f2544 100644 --- a/.github/workflows/aws-staging.yaml +++ b/.github/workflows/aws-staging.yaml @@ -23,7 +23,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: Check required secrets env: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c30c11afcf..63377fd0ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - uses: actions/cache@v3 id: yarn-cache with: @@ -36,7 +36,7 @@ jobs: if (( 10#${numbers[1]} != 10#${numbers[0]}+1 )); then echo "The last two migration files do not have consecutive numbers: ${numbers[0]} and ${numbers[1]}" exit 1 - fi + fi - name: Install packages if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn --no-progress --non-interactive --frozen-lockfile @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - uses: actions/cache@v3 id: yarn-cache with: @@ -77,7 +77,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - uses: actions/cache@v3 id: yarn-cache with: @@ -103,7 +103,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - uses: actions/cache@v3 id: yarn-cache with: diff --git a/.github/workflows/dev-cache.yaml b/.github/workflows/dev-cache.yaml index 4c3b0e3e9a..ca10677041 100644 --- a/.github/workflows/dev-cache.yaml +++ b/.github/workflows/dev-cache.yaml @@ -16,10 +16,10 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 - - name: Use Node.js 18.12 + - name: Use Node.js 18.19.1 uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: Generate Cache Key id: key @@ -40,10 +40,10 @@ jobs: if: ${{ !needs.search.outputs.cache-hit }} steps: - uses: actions/checkout@v3 - - name: Use Node.js 18.12 + - name: Use Node.js 18.19.1 uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: Check cache uses: actions/cache@v3 id: yarn-cache diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml index b9e0e35d0f..ef706757aa 100644 --- a/.github/workflows/nextjs-bundle-analysis.yml +++ b/.github/workflows/nextjs-bundle-analysis.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: Use modules cache uses: actions/cache@v3 id: yarn-cache diff --git a/.github/workflows/prod-cache.yaml b/.github/workflows/prod-cache.yaml index b879d83b00..12498aad1f 100644 --- a/.github/workflows/prod-cache.yaml +++ b/.github/workflows/prod-cache.yaml @@ -16,10 +16,10 @@ jobs: - name: Check Out Repo uses: actions/checkout@v3 - - name: Use Node.js 18.12 + - name: Use Node.js 18.19.1 uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: Generate Cache Key id: key @@ -40,10 +40,10 @@ jobs: if: ${{ !needs.search.outputs.cache-hit }} steps: - uses: actions/checkout@v3 - - name: Use Node.js 18.12 + - name: Use Node.js 18.19.1 uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: Check cache uses: actions/cache@v3 id: yarn-cache diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7a00b01bd8..2afb74dee6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,7 +32,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v3 with: - node-version: 18.12 + node-version: 18.19.1 - name: 'Determine Release Type' run: | if ${{ contains(github.event.inputs.release_type, 'major') }}; then diff --git a/.nvmrc b/.nvmrc index 29ef05d4d5..3c5535cf60 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.12 +18.19.1 diff --git a/Dockerfile.production b/Dockerfile.production index 98e36c3bc3..bc321a33a9 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -1,4 +1,4 @@ -FROM node:18.12 +FROM node:18.19.1 EXPOSE 3000