From 7a3cd77bc8b0ec919fda21aa5ced4db6aed7f98d Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 2 Nov 2023 20:32:36 +0800 Subject: [PATCH] ci: add YARN_IGNORE_NODE on macOS arm64 build --- .cirrus.yml | 1 + examples/napi-compat-mode/package.json | 2 +- examples/napi/package.json | 6 +++--- yarn.lock | 17 ++--------------- 4 files changed, 7 insertions(+), 19 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 6c897648..d8fe5484 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -51,6 +51,7 @@ macos_arm64_task: image: ghcr.io/cirruslabs/macos-monterey-xcode env: PATH: $HOME/.cargo/bin:$PATH + YARN_IGNORE_NODE: '1' setup_script: - brew install node yarn <<: *BUILD_AND_TEST diff --git a/examples/napi-compat-mode/package.json b/examples/napi-compat-mode/package.json index 4db0abda..08cb4ff5 100644 --- a/examples/napi-compat-mode/package.json +++ b/examples/napi-compat-mode/package.json @@ -9,7 +9,7 @@ "devDependencies": { "@napi-rs/cli": "workspace:*", "ava": "^5.3.1", - "sinon": "^15.2.0" + "sinon": "^17.0.1" }, "ava": { "extensions": [ diff --git a/examples/napi/package.json b/examples/napi/package.json index 12d23751..17787105 100644 --- a/examples/napi/package.json +++ b/examples/napi/package.json @@ -14,7 +14,7 @@ "@types/lodash": "^4.14.195", "ava": "^5.3.1", "cross-env": "7.0.3", - "electron": "^26.2.1", + "electron": "^27.0.3", "lodash": "^4.17.21", "sinon": "^15.2.0" }, @@ -32,8 +32,8 @@ "dependencies": { "@emnapi/core": "0.43.1", "@tybys/wasm-util": "^0.8.0", - "@types/lodash": "^4.14.191", + "@types/lodash": "^4.14.200", "lodash": "^4.17.21", - "sinon": "^15.0.1" + "sinon": "^17.0.1" } } diff --git a/yarn.lock b/yarn.lock index 48090065..62ecc154 100644 --- a/yarn.lock +++ b/yarn.lock @@ -346,7 +346,7 @@ __metadata: dependencies: "@napi-rs/cli": "workspace:*" ava: "npm:^5.3.1" - sinon: "npm:^15.2.0" + sinon: "npm:^17.0.1" languageName: unknown linkType: soft @@ -360,7 +360,7 @@ __metadata: "@types/lodash": "npm:^4.14.195" ava: "npm:^5.3.1" cross-env: "npm:7.0.3" - electron: "npm:^26.2.1" + electron: "npm:^27.0.3" lodash: "npm:^4.17.21" sinon: "npm:^15.2.0" languageName: unknown @@ -3561,19 +3561,6 @@ __metadata: languageName: node linkType: hard -"electron@npm:^26.2.1": - version: 26.4.3 - resolution: "electron@npm:26.4.3" - dependencies: - "@electron/get": "npm:^2.0.0" - "@types/node": "npm:^18.11.18" - extract-zip: "npm:^2.0.1" - bin: - electron: cli.js - checksum: 85868551b8c3f6d04fddd95e9e27a3358f39e2ce9372884fa1ad23f621a7584dd39edfc4e5793a6ee5fd556db7a4552a4a49abfc4e1f08fdebcfd73a38be6418 - languageName: node - linkType: hard - "electron@npm:^27.0.3": version: 27.0.3 resolution: "electron@npm:27.0.3"