Skip to content

Commit

Permalink
Upgrade GitHub actions/checkout and actions/setup-node (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Nov 21, 2023
1 parent 6108911 commit e014274
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- if: ${{ startsWith(matrix.os, 'windows') }}
Expand All @@ -49,8 +49,8 @@ jobs:
runs-on: ubuntu-20.04
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
registry-url: https://registry.npmjs.org
Expand All @@ -69,8 +69,8 @@ jobs:
runs-on: ${{ matrix.os }}
needs: publish
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- if: ${{ startsWith(matrix.os, 'windows') }}
Expand All @@ -95,7 +95,7 @@ jobs:
container: node:16-alpine
needs: publish
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: apk add build-base git python3 py3-setuptools --update-cache
- run: npm install --ignore-scripts
- run: ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-latest
needs: publish
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v1
- run: |
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:16-alpine -c "\
Expand All @@ -129,7 +129,7 @@ jobs:
runs-on: ubuntu-latest
needs: publish
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v1
- run: |
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:16 -c "\
Expand Down

0 comments on commit e014274

Please sign in to comment.