From 30c3d555abd52d0ec3b0c2c83db27b9a6bb073cf Mon Sep 17 00:00:00 2001 From: dwelle <5153846+dwelle@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:53:52 +0200 Subject: [PATCH] fix: use node 20 in CI --- .github/workflows/autorelease-fork.yml | 4 ++-- .github/workflows/autorelease-preview.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- .github/workflows/locales-coverage.yml | 4 ++-- .github/workflows/sentry-production.yml | 4 ++-- .github/workflows/size-limit.yml | 4 ++-- .github/workflows/test-coverage-pr.yml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/autorelease-fork.yml b/.github/workflows/autorelease-fork.yml index 58fcc0b4209cc..bc3f06a48a01d 100644 --- a/.github/workflows/autorelease-fork.yml +++ b/.github/workflows/autorelease-fork.yml @@ -12,10 +12,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 2 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@v2 with: - node-version: 18.x + node-version: 20.x - name: Set up publish access run: | npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} diff --git a/.github/workflows/autorelease-preview.yml b/.github/workflows/autorelease-preview.yml index a40ed3c4308fd..32b3e0e4ca3a1 100644 --- a/.github/workflows/autorelease-preview.yml +++ b/.github/workflows/autorelease-preview.yml @@ -32,10 +32,10 @@ jobs: with: ref: ${{ steps.sha.outputs.result }} fetch-depth: 2 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@v2 with: - node-version: 18.x + node-version: 20.x - name: Set up publish access run: | npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 82f826361ceee..eb41d5dc8a615 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@v2 with: - node-version: 18.x + node-version: 20.x - name: Install and lint run: | diff --git a/.github/workflows/locales-coverage.yml b/.github/workflows/locales-coverage.yml index 3cce93e0419d7..35764631cace2 100644 --- a/.github/workflows/locales-coverage.yml +++ b/.github/workflows/locales-coverage.yml @@ -14,10 +14,10 @@ jobs: with: token: ${{ secrets.PUSH_TRANSLATIONS_COVERAGE_PAT }} - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@v2 with: - node-version: 18.x + node-version: 20.x - name: Create report file run: | diff --git a/.github/workflows/sentry-production.yml b/.github/workflows/sentry-production.yml index cea4cf63d6f2a..4ae94f59f3b85 100644 --- a/.github/workflows/sentry-production.yml +++ b/.github/workflows/sentry-production.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@v2 with: - node-version: 18.x + node-version: 20.x - name: Install and build run: | yarn --frozen-lockfile diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 5bd3c0d92bc26..bf4b3edb1e0a5 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install in packages/excalidraw run: yarn working-directory: packages/excalidraw diff --git a/.github/workflows/test-coverage-pr.yml b/.github/workflows/test-coverage-pr.yml index 7ff40ad5d2120..227991a7bce4c 100644 --- a/.github/workflows/test-coverage-pr.yml +++ b/.github/workflows/test-coverage-pr.yml @@ -14,7 +14,7 @@ jobs: - name: "Install Node" uses: actions/setup-node@v2 with: - node-version: "18.x" + node-version: "20.x" - name: "Install Deps" run: yarn install - name: "Test Coverage"