From db7d5cc451098aa2ab05d8ce767d67e3b199369e Mon Sep 17 00:00:00 2001 From: Roberto Simonetti Date: Sun, 26 May 2024 14:34:10 +0200 Subject: [PATCH] CI: fixes --- .github/workflows/node.js.yml | 4 ++-- .github/workflows/playwright.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 585e551..1e0cb5a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -24,9 +24,9 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 25a6386..145610c 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -9,8 +9,8 @@ jobs: timeout-minutes: 60 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: '20.x' - name: Install dependencies @@ -21,8 +21,8 @@ jobs: run: npm run ci - name: Run Playwright tests run: npm run test.e2e - - uses: actions/upload-artifact@v3 - if: always() + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} with: name: playwright-report path: playwright-report/