From 7fa52032b7805dc762723649038db05264694fe5 Mon Sep 17 00:00:00 2001 From: Jack Williams <1736957+jpwilliams@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:52:53 +0000 Subject: [PATCH] Use v20 for installing deps --- .github/workflows/testAndPublishOnTag.yml | 5 ++++- .github/workflows/testOnPush.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testAndPublishOnTag.yml b/.github/workflows/testAndPublishOnTag.yml index 63677c1..aa6d5c2 100644 --- a/.github/workflows/testAndPublishOnTag.yml +++ b/.github/workflows/testAndPublishOnTag.yml @@ -15,8 +15,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node }} + node-version: '20' - run: npm ci + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} - run: npm run build - run: npm run test diff --git a/.github/workflows/testOnPush.yml b/.github/workflows/testOnPush.yml index 97da07b..0110fc7 100644 --- a/.github/workflows/testOnPush.yml +++ b/.github/workflows/testOnPush.yml @@ -12,7 +12,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node }} + node-version: '20' - run: npm ci + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} - run: npm run build - run: npm run test