Skip to content

Commit

Permalink
Force rebuild of native modules for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Nov 26, 2023
1 parent b8176f2 commit c06831e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/arm64-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ jobs:
node-version: 20
architecture: "arm64"
check-latest: true
- run: |
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Rebuild Native Modules for ARM64
run: yarn add --force --arch=arm64 --platform=linux node-gyp && yarn --force
- name: Build Project
run: yarn build
- name: Package with Caxa
run: |
yarn global add caxa
yarn install --frozen-lockfile --force && yarn build
npx caxa --input . --output "lodestar" -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/node_modules/.bin/lodestar"
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit c06831e

Please sign in to comment.