Skip to content

Commit

Permalink
.github: updated action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thom-nic committed Oct 31, 2023
1 parent 1c3a409 commit 22b2d06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-pack-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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 }}
Expand All @@ -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'
Expand All @@ -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/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 22b2d06

Please sign in to comment.