From 9c8ee269d0cfe679deefae89d0d3f8032ba9413d Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 25 Jul 2024 11:21:39 +0100 Subject: [PATCH] ci: upgrade actions/setup-node to v4 --- .github/workflows/tests-release.yml | 10 +++++----- .github/workflows/tests.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests-release.yml b/.github/workflows/tests-release.yml index bb73dc1..3968097 100644 --- a/.github/workflows/tests-release.yml +++ b/.github/workflows/tests-release.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 - run: npm clean-install && npm audit --production @@ -43,7 +43,7 @@ jobs: uses: actions/checkout@v3 - name: Setup node ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: npm @@ -84,7 +84,7 @@ jobs: path: github/testing/express - name: Setup node ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: npm @@ -106,7 +106,7 @@ jobs: needs: [integrationtests] steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 16 registry-url: https://registry.npmjs.org/ @@ -123,7 +123,7 @@ jobs: packages: write steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: # we always publish targeting the lowest supported node version node-version: 16 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c395946..f203257 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v3 - name: setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 cache: npm @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v3 - name: Setup node ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: npm