From 9895b3f7381d293706bff072420fa9c67882d6e8 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Thu, 2 May 2024 10:12:24 -0700 Subject: [PATCH] chore: nodejs upgrade (#2743) * chore: nodejs upgrade * save --- .github/workflows/dependabot.yaml | 2 +- .github/workflows/eslint-test.yaml | 2 +- .github/workflows/nightly-docker-build.yaml | 2 +- .github/workflows/pull_request.yaml | 4 ++-- .github/workflows/release-branch-pr.yaml | 2 +- .github/workflows/release-preview.yaml | 2 +- .github/workflows/release.yaml | 6 +++--- .github/workflows/screenshot_capture.yaml | 4 ++-- .github/workflows/url-checks.yaml | 2 +- .github/workflows/visual-comparison.yaml | 8 ++++---- Dockerfile | 2 +- package.json | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/dependabot.yaml b/.github/workflows/dependabot.yaml index c53fdad467..d4245436d6 100644 --- a/.github/workflows/dependabot.yaml +++ b/.github/workflows/dependabot.yaml @@ -34,7 +34,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci diff --git a/.github/workflows/eslint-test.yaml b/.github/workflows/eslint-test.yaml index 45ee0fddf7..c6c84e85c6 100644 --- a/.github/workflows/eslint-test.yaml +++ b/.github/workflows/eslint-test.yaml @@ -32,7 +32,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci diff --git a/.github/workflows/nightly-docker-build.yaml b/.github/workflows/nightly-docker-build.yaml index 89efd69957..e971409c21 100644 --- a/.github/workflows/nightly-docker-build.yaml +++ b/.github/workflows/nightly-docker-build.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index c0bb3e7969..aa15234be7 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -65,7 +65,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - name: Prettier Check @@ -82,7 +82,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci diff --git a/.github/workflows/release-branch-pr.yaml b/.github/workflows/release-branch-pr.yaml index 69cafec62f..bc75d68f76 100644 --- a/.github/workflows/release-branch-pr.yaml +++ b/.github/workflows/release-branch-pr.yaml @@ -33,7 +33,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci diff --git a/.github/workflows/release-preview.yaml b/.github/workflows/release-preview.yaml index b3dfaccb3f..664de96bf7 100644 --- a/.github/workflows/release-preview.yaml +++ b/.github/workflows/release-preview.yaml @@ -34,7 +34,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b86f2cf6ca..bc9f96140e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -48,7 +48,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci @@ -83,7 +83,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - run: npm ci @@ -126,7 +126,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v4 with: - node-version: 18 + node-version: "20" cache: "npm" - name: Install dependencies diff --git a/.github/workflows/screenshot_capture.yaml b/.github/workflows/screenshot_capture.yaml index e138a540c0..ee1a102cd3 100644 --- a/.github/workflows/screenshot_capture.yaml +++ b/.github/workflows/screenshot_capture.yaml @@ -33,7 +33,7 @@ jobs: - name: Setup Node.js Environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - name: Install Dependencies @@ -72,7 +72,7 @@ jobs: - name: Setup Node.js Environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - name: Install Dependencies diff --git a/.github/workflows/url-checks.yaml b/.github/workflows/url-checks.yaml index 11762d2993..6455f06216 100644 --- a/.github/workflows/url-checks.yaml +++ b/.github/workflows/url-checks.yaml @@ -24,7 +24,7 @@ jobs: - name: Setup Nodejs uses: actions/setup-node@v4 with: - node-version: 18 + node-version: "20" - name: URL Checker run: make verify-url-links-ci diff --git a/.github/workflows/visual-comparison.yaml b/.github/workflows/visual-comparison.yaml index 6874e28619..f7ec3fcd7f 100644 --- a/.github/workflows/visual-comparison.yaml +++ b/.github/workflows/visual-comparison.yaml @@ -18,7 +18,7 @@ env: concurrency: - group: "visual-comparison-${{ github.workflow }}" + group: "visual-comparison-${{ github.workflow }}-${{ github.head_ref }}" cancel-in-progress: true @@ -53,7 +53,7 @@ jobs: - name: Setup Node.js Environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - name: Post PR Comment @@ -100,7 +100,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - name: Install Dependencies @@ -148,7 +148,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "20" cache: "npm" - name: Install Dependencies diff --git a/Dockerfile b/Dockerfile index 943538d053..7bf7b32011 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine WORKDIR /librarium diff --git a/package.json b/package.json index f1394847b8..5a234708d6 100644 --- a/package.json +++ b/package.json @@ -113,6 +113,6 @@ ] }, "engines": { - "node": ">=16.14" + "node": ">=20.12" } }