diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index a27eec4c2d..75608f6085 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8193536124..f483a9e7c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/snapit.yml b/.github/workflows/snapit.yml index 1cd1000715..e1454154df 100644 --- a/.github/workflows/snapit.yml +++ b/.github/workflows/snapit.yml @@ -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: