|
56 | 56 | key: stable-${{ matrix.os }}-cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
|
57 | 57 |
|
58 | 58 | - name: 'Install dependencies'
|
59 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 59 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
60 | 60 |
|
61 | 61 | - name: Cargo test
|
62 | 62 | uses: actions-rs/cargo@v1
|
@@ -105,7 +105,7 @@ jobs:
|
105 | 105 | key: npm-cache-windows-i686-node@lts-${{ hashFiles('yarn.lock') }}
|
106 | 106 |
|
107 | 107 | - name: Install dependencies
|
108 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 108 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
109 | 109 |
|
110 | 110 | - name: Build TypeScript
|
111 | 111 | run: yarn build:ts
|
@@ -195,7 +195,7 @@ jobs:
|
195 | 195 | docker tag ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine builder
|
196 | 196 |
|
197 | 197 | - name: 'Install dependencies'
|
198 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 198 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
199 | 199 |
|
200 | 200 | - name: 'Build'
|
201 | 201 | run: |
|
@@ -260,7 +260,7 @@ jobs:
|
260 | 260 | sudo apt-get update
|
261 | 261 | sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu -y
|
262 | 262 | - name: Install dependencies
|
263 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 263 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
264 | 264 |
|
265 | 265 | - name: Cross build aarch64
|
266 | 266 | run: yarn build -- -- --target aarch64-unknown-linux-gnu
|
@@ -325,7 +325,7 @@ jobs:
|
325 | 325 | sudo apt-get install gcc-aarch64-linux-gnu -y
|
326 | 326 |
|
327 | 327 | - name: Install dependencies
|
328 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 328 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
329 | 329 |
|
330 | 330 | - name: Cross build aarch64
|
331 | 331 | run: yarn build -- -- --target aarch64-unknown-linux-musl
|
@@ -399,7 +399,7 @@ jobs:
|
399 | 399 | sudo apt-get update
|
400 | 400 | sudo apt-get install gcc-arm-linux-gnueabihf -y
|
401 | 401 | - name: Install dependencies
|
402 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 402 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
403 | 403 |
|
404 | 404 | - name: Cross build arm7
|
405 | 405 | run: yarn build -- -- --target armv7-unknown-linux-gnueabihf
|
@@ -457,7 +457,7 @@ jobs:
|
457 | 457 | key: npm-cache-apple-aarch64-node@14-${{ hashFiles('yarn.lock') }}
|
458 | 458 |
|
459 | 459 | - name: Install dependencies
|
460 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 460 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
461 | 461 |
|
462 | 462 | - name: Cross build aarch64
|
463 | 463 | run: yarn build -- -- --target aarch64-apple-darwin
|
@@ -506,7 +506,7 @@ jobs:
|
506 | 506 | key: npm-cache-apple-aarch64-node@14-${{ hashFiles('yarn.lock') }}
|
507 | 507 |
|
508 | 508 | - name: Install dependencies
|
509 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 509 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
510 | 510 |
|
511 | 511 | - name: Build
|
512 | 512 | shell: bash
|
@@ -555,10 +555,12 @@ jobs:
|
555 | 555 | whoami
|
556 | 556 | env
|
557 | 557 | freebsd-version
|
558 |
| - yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 558 | + yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
559 | 559 | yarn build:ts
|
560 | 560 | yarn build
|
561 | 561 | yarn test
|
| 562 | + rm -rf node_modules |
| 563 | + rm -rf target |
562 | 564 |
|
563 | 565 | - name: Upload artifact
|
564 | 566 | uses: actions/upload-artifact@v2
|
@@ -588,7 +590,7 @@ jobs:
|
588 | 590 |
|
589 | 591 | # Do not cache node_modules, or yarn workspace links broken
|
590 | 592 | - name: 'Install dependencies'
|
591 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 593 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
592 | 594 |
|
593 | 595 | - name: Build TypeScript
|
594 | 596 | run: yarn build:ts
|
@@ -674,7 +676,7 @@ jobs:
|
674 | 676 | key: npm-cache-test-aarch64-linux-node@${{ matrix.node }}-${{ hashFiles('yarn.lock') }}
|
675 | 677 |
|
676 | 678 | - name: 'Install dependencies'
|
677 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 679 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
678 | 680 |
|
679 | 681 | - name: Build TypeScript
|
680 | 682 | run: yarn build:ts
|
@@ -732,7 +734,7 @@ jobs:
|
732 | 734 | key: npm-cache-ubuntu-latest-publish-${{ hashFiles('yarn.lock') }}
|
733 | 735 |
|
734 | 736 | - name: 'Install dependencies'
|
735 |
| - run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
| 737 | + run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000 |
736 | 738 |
|
737 | 739 | - name: Download all artifacts
|
738 | 740 | uses: actions/download-artifact@v2
|
|
0 commit comments