From e7ca3ffcd0738451c62e7196cce8b88498cb8b7f Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Fri, 6 Dec 2024 09:37:49 +0200 Subject: [PATCH] chore: update GitHub Actions to latest, use Node 20 (#7301) (#8287) --- .github/workflows/coverage.yml | 6 +++--- .github/workflows/unit-tests.yml | 18 +++++++++--------- .github/workflows/verify.yml | 18 +++++++++--------- .github/workflows/visual-tests.yml | 16 ++++++++-------- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3599f9ec3a..df38a33e09 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -14,14 +14,14 @@ jobs: name: Unit tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 3efebf933f..c0069372b6 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,14 +10,14 @@ jobs: name: Chrome runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies @@ -29,14 +29,14 @@ jobs: name: Firefox runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies @@ -51,14 +51,14 @@ jobs: name: WebKit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 32ade4b01e..d27646da7c 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -10,12 +10,12 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies @@ -52,14 +52,14 @@ jobs: name: Snapshot tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies @@ -71,14 +71,14 @@ jobs: name: Integration tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies diff --git a/.github/workflows/visual-tests.yml b/.github/workflows/visual-tests.yml index a0885b1585..6835c08c8d 100644 --- a/.github/workflows/visual-tests.yml +++ b/.github/workflows/visual-tests.yml @@ -12,14 +12,14 @@ jobs: if: github.repository_owner == 'vaadin' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies @@ -36,7 +36,7 @@ jobs: max_attempts: 3 command: yarn test:lumo - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: screenshots @@ -49,14 +49,14 @@ jobs: if: github.repository_owner == 'vaadin' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'yarn' - name: Install Dependencies @@ -73,7 +73,7 @@ jobs: max_attempts: 3 command: yarn test:material - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: screenshots