From 7b8bf60520cf53e9d3ae0044a6cc3ab70575d8de Mon Sep 17 00:00:00 2001 From: yoavweber Date: Fri, 6 Sep 2024 17:22:51 +0300 Subject: [PATCH] upgrading to node 18 to support react testing library --- .github/workflows/main.yml | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 458df99..dfef342 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: [ '16.x', '18.x', '20.x'] + node: [ '18.x', '20.x'] os: [ubuntu-latest, windows-latest, macOS-latest] steps: @@ -19,8 +19,9 @@ jobs: with: node-version: ${{ matrix.node }} - - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 + + - name: Install dependencies + run: yarn install - name: Lint run: yarn lint diff --git a/package.json b/package.json index a78b125..6c3e40d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "dist/**/*" ], "engines": { - "node": ">=16" + "node": ">=18" }, "repository": { "type": "git",