Skip to content

Commit

Permalink
Preinstall node-gyp headers in GitHub Actions workflows (#10025)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 authored Jun 14, 2024
1 parent 5717262 commit 161f751
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ jobs:
with:
node-version: '20'
cache: 'yarn'
- name: Preinstall node-gyp headers
run: yarn dlx node-gyp install
- name: Install Node dependencies
run: yarn install --immutable --inline-builds

Expand Down Expand Up @@ -378,6 +380,9 @@ jobs:
with:
node-version: '20'

- name: Preinstall node-gyp headers
run: yarn dlx node-gyp install

- name: Install Node dependencies
run: yarn workspaces focus @prairielearn/actions-report-image-sizes

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
node-version: 20.x
cache: 'yarn'

- name: Preinstall node-gyp headers
run: yarn dlx node-gyp install

- name: Install Dependencies
run: yarn --immutable

Expand Down

0 comments on commit 161f751

Please sign in to comment.