From 2aa88d5ef870f3f697cb75c0cd794791efaeede7 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 23 Oct 2024 15:23:56 +0200 Subject: [PATCH] chore: Upgrade visual resgression script to node 20 (#50) --- .github/workflows/visual-regression.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/visual-regression.yml b/.github/workflows/visual-regression.yml index 06bc206..b628432 100644 --- a/.github/workflows/visual-regression.yml +++ b/.github/workflows/visual-regression.yml @@ -18,9 +18,9 @@ jobs: if: github.event.ref != 'refs/heads/main' steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: "npm" - name: "Download artifacts" # Turns out you can not use artifacts from a previous workflow run. @@ -47,9 +47,9 @@ jobs: if: github.event.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: "npm" - run: npm install - run: npm run build