From 6f78e6f81d3ca53c1aedbd74a1d4f0a8c5ddb11e Mon Sep 17 00:00:00 2001
From: chris48s <chris48s@users.noreply.github.com>
Date: Sun, 18 Jun 2023 21:06:55 +0100
Subject: [PATCH] run package tests on node 20 (#9293)

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
---
 .github/workflows/test-package-cli.yml | 7 +------
 .github/workflows/test-package-lib.yml | 2 ++
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/test-package-cli.yml b/.github/workflows/test-package-cli.yml
index 91a2036fb7..5dc4d832dd 100644
--- a/.github/workflows/test-package-cli.yml
+++ b/.github/workflows/test-package-cli.yml
@@ -17,11 +17,9 @@ jobs:
       matrix:
         include:
           - node: '14'
-            engine-strict: 'false'
           - node: '16'
-            engine-strict: 'false'
           - node: '18'
-            engine-strict: 'true'
+          - node: '20'
     steps:
       - name: Checkout
         uses: actions/checkout@v3
@@ -32,9 +30,6 @@ jobs:
           node-version: ${{ matrix.node }}
 
       - name: Install dependencies
-        env:
-          CYPRESS_INSTALL_BINARY: 0
-          NPM_CONFIG_ENGINE_STRICT: ${{ matrix.engine-strict }}
         run: |
           cd badge-maker
           npm install
diff --git a/.github/workflows/test-package-lib.yml b/.github/workflows/test-package-lib.yml
index 060828cbe1..d2a23df321 100644
--- a/.github/workflows/test-package-lib.yml
+++ b/.github/workflows/test-package-lib.yml
@@ -19,6 +19,8 @@ jobs:
             engine-strict: 'true'
           - node: '18'
             engine-strict: 'false'
+          - node: '20'
+            engine-strict: 'false'
     steps:
       - name: Checkout
         uses: actions/checkout@v3
-- 
GitLab