From bdfd0da5ffc8a528f5cb032e2fe6c47704542e17 Mon Sep 17 00:00:00 2001 From: Mayra Amaral Date: Fri, 14 Feb 2025 21:41:15 -0300 Subject: [PATCH 1/2] chore: update actions to v4 --- .github/workflows/cd.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index a9e24fc..f3d6e20 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -18,11 +18,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: current - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npm audit --omit=dev @@ -36,25 +36,25 @@ jobs: node-version: [ '14', '16', '18' ] steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npm ci - name: Test run: npm test - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: cypress-screenshots path: cypress/screenshots retention-days: 7 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: cypress-videos @@ -68,11 +68,11 @@ jobs: if: github.event_name == 'push' steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: current - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: npm ci From c1b06a96135b9249ecbf1a77f535ca86f1869a8d Mon Sep 17 00:00:00 2001 From: Jeroen akkerman Date: Tue, 18 Feb 2025 00:01:28 +0100 Subject: [PATCH 2/2] Add Node.js version to artifact name --- .github/workflows/cd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index f3d6e20..5cc60f8 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -50,14 +50,14 @@ jobs: - uses: actions/upload-artifact@v4 if: failure() with: - name: cypress-screenshots + name: cypress-screenshots-nodejs-${{ matrix.node-version }} path: cypress/screenshots retention-days: 7 - uses: actions/upload-artifact@v4 if: always() with: - name: cypress-videos + name: cypress-videos-nodejs-${{ matrix.node-version }} path: cypress/videos retention-days: 7