From 1f61939958aabe0688f0063d786ed3cfc7249b50 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Thu, 4 Apr 2024 03:55:04 +0200 Subject: [PATCH] Update CI github-actions --- .changelog/1867.internal.md | 1 + .github/workflows/ci-build.yml | 4 ++-- .github/workflows/ci-lint.yml | 2 +- .github/workflows/ci-test.yml | 16 ++++++++-------- .github/workflows/cloudflare-pages.yml | 2 +- .github/workflows/release.yml | 2 +- 6 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .changelog/1867.internal.md diff --git a/.changelog/1867.internal.md b/.changelog/1867.internal.md new file mode 100644 index 0000000000..787f5708c7 --- /dev/null +++ b/.changelog/1867.internal.md @@ -0,0 +1 @@ +Update dependencies diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 27654509f5..85973b6754 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -27,7 +27,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn @@ -43,7 +43,7 @@ jobs: - name: Upload build artifacts # Upload build artifacts on push event. if: github.event_name == 'push' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: oasis-wallet-web-${{ steps.vars.outputs.SHORT_SHA }} path: build diff --git a/.github/workflows/ci-lint.yml b/.github/workflows/ci-lint.yml index cf7b73402d..1c0f347dbf 100644 --- a/.github/workflows/ci-lint.yml +++ b/.github/workflows/ci-lint.yml @@ -36,7 +36,7 @@ jobs: with: python-version: '3.x' - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 29612e65fd..0b2b9abb55 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -25,7 +25,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 id: yarn-cache with: node-version: 18 @@ -42,7 +42,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn @@ -50,7 +50,7 @@ jobs: run: yarn install --frozen-lockfile - run: yarn test --coverage - name: 'Upload coverage report' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jest-coverage path: coverage @@ -65,7 +65,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn @@ -85,7 +85,7 @@ jobs: run: xvfb-run yarn test:prod - name: 'Upload playwright test-results' if: ${{ failure() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: playwright-test-results path: playwright/test-results @@ -100,7 +100,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn @@ -115,7 +115,7 @@ jobs: - run: npx wait-on http://localhost:3000/ --timeout 60000 - run: yarn cypress:run - name: 'Upload coverage report' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cypress-coverage path: cypress-coverage @@ -130,7 +130,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Download coverage reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - uses: codecov/codecov-action@v3 with: files: ./jest-coverage/coverage-final.json diff --git a/.github/workflows/cloudflare-pages.yml b/.github/workflows/cloudflare-pages.yml index fcb710f30e..1d773655d5 100644 --- a/.github/workflows/cloudflare-pages.yml +++ b/.github/workflows/cloudflare-pages.yml @@ -46,7 +46,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d64503884a..d444c9e68d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Set up Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18.x' cache: yarn