Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Install node-gyp #2695

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
${{ runner.os }}-node${{ matrix.node-version }}-cache-v2-

- name: 📦 Install dependencies
run: yarn --frozen-lockfile
run: |
npm install -g node-gyp
yarn --frozen-lockfile

- name: 🔨 Build
run: yarn build
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
node-version: 18.x
cache: 'yarn'

- name: Install dependencies
run: yarn --frozen-lockfile
- name: 📦 Install dependencies
run: |
npm install -g node-gyp
yarn --frozen-lockfile

- name: Create release Pull Request or publish to NPM
id: changesets
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/snapit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ jobs:
with:
node-version: 18.x

- name: Install dependencies
run: yarn --frozen-lockfile
- name: 📦 Install dependencies
run: |
npm install -g node-gyp
yarn --frozen-lockfile

- name: Create an .npmrc
env:
Expand Down