From fa99c2a4afc9f518ff3726840d2abf018ad97ec4 Mon Sep 17 00:00:00 2001 From: Michael Dowse Date: Tue, 22 Oct 2024 12:19:36 +0200 Subject: [PATCH] chore: Upgrade visual resgression script to node 20 --- .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 d40d193..6884dfe 100644 --- a/.github/workflows/visual-regression.yml +++ b/.github/workflows/visual-regression.yml @@ -19,9 +19,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: "Get reference run id" run: | @@ -49,9 +49,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