From ca3d8e157fc854af9b6351a5d512e6d4f61cb24a Mon Sep 17 00:00:00 2001 From: Jeffrey Esquivel S Date: Tue, 28 May 2024 20:35:15 -0600 Subject: [PATCH] Update all Github Actions to use Node v20 --- .github/workflows/prebuild.yml | 18 +++++++++--------- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index b643afe5c..6eebeb461 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -5,9 +5,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/') runs-on: macos-11 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - run: npm install --ignore-scripts @@ -19,16 +19,16 @@ jobs: PREBUILD_ARCH: arm64 - run: tar --create --format ustar --verbose --file=prebuild-darwin.tar -C prebuilds . - name: Prebuild - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: prebuild-darwin.tar build-linux: if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - run: npm install --ignore-scripts @@ -37,22 +37,22 @@ jobs: - run: npm run prebuild-linux-arm64-musl - run: tar --create --verbose --file=prebuild-linux.tar -C prebuilds . - name: Prebuild - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: prebuild-linux.tar build-windows: if: startsWith(github.ref, 'refs/tags/') runs-on: windows-2019 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - run: npm install --ignore-scripts - run: npm run prebuild - run: tar --create --verbose --file=prebuild-windows.tar -C prebuilds . - name: Prebuild - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: prebuild-windows.tar diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 364a4dc8d..5e2af800c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,9 @@ jobs: test-macos: runs-on: macos-11 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - run: npm install @@ -14,9 +14,9 @@ jobs: test-linux: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - run: npm install @@ -24,9 +24,9 @@ jobs: test-windows: runs-on: windows-2019 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 - run: npm install