From 22b2d06106de386d55e7f06ca3c8e941ef80afa6 Mon Sep 17 00:00:00 2001 From: Thom Nichols <95562+thom-nic@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:31:38 -0400 Subject: [PATCH] .github: updated action versions --- .github/workflows/build-pack-publish.yml | 20 ++++++++++---------- .github/workflows/ci.yaml | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-pack-publish.yml b/.github/workflows/build-pack-publish.yml index c7f9a3b..3317e66 100644 --- a/.github/workflows/build-pack-publish.yml +++ b/.github/workflows/build-pack-publish.yml @@ -17,8 +17,8 @@ jobs: os: [linux] arch: [amd64, arm64, arm] steps: - - uses: actions/checkout@v2 - - uses: docker/setup-qemu-action@v1 + - uses: actions/checkout@v4 + - uses: docker/setup-qemu-action@v3 with: image: tonistiigi/binfmt:latest platforms: arm,arm64 @@ -47,7 +47,7 @@ jobs: - run: docker cp "node-bcryptjs-builder-alpine:/usr/local/opt/bcrypt-js/prebuilds" . - run: find prebuilds - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: prebuild-${{ matrix.os }}-${{ matrix.arch }} path: ./prebuilds @@ -56,8 +56,8 @@ jobs: needs: build runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 with: node-version: 20 registry-url: 'https://registry.npmjs.org' @@ -73,7 +73,7 @@ jobs: done - run: chmod a+x prebuilds/*/*.node && find prebuilds -executable -type f - run: echo "PACK_FILE=$(npm pack)" >> $GITHUB_ENV - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: package-tgz path: ${{ env.PACK_FILE }} @@ -83,8 +83,8 @@ jobs: if: github.event_name == 'release' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 with: node-version: 20 registry-url: 'https://registry.npmjs.org' @@ -104,8 +104,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 with: node-version: 20 registry-url: https://npm.pkg.github.com/ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d5c0991..7d2f747 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,9 +15,9 @@ jobs: matrix: node-version: [18, 20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -32,7 +32,7 @@ jobs: container: image: node:${{ matrix.node-version }}-alpine steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install dependencies run: | apk add make g++ python3