Skip to content

Commit

Permalink
Update GitHub Actions workflow to use Ubuntu 22.04 and adjust depende…
Browse files Browse the repository at this point in the history
…ncy installation order
  • Loading branch information
mceachen committed Dec 17, 2024
1 parent bc90999 commit 5b1b30b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,22 +113,24 @@ jobs:

publish:
if: ${{ github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [test-matrix, test-ubuntu, test-alpine]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18

- name: Install dependencies
run: npm ci

# We need to download the prebuilds **before** installing dependencies,
# or `npm ci` will recompile the native code.
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: ./prebuilds
merge-multiple: true # < because prebuilds/linux-x64/ will contain both a glibc and musl build
merge-multiple: true

- name: Install dependencies
run: npm ci

- name: List ./prebuilds/
run: ls -laR ./prebuilds
Expand Down

0 comments on commit 5b1b30b

Please sign in to comment.