ci: add YARN_IGNORE_NODE on macOS arm64 build

This commit is contained in:
LongYinan 2023-11-02 20:32:36 +08:00
parent 8d85509119
commit 7a3cd77bc8
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7
4 changed files with 7 additions and 19 deletions

View file

@ -51,6 +51,7 @@ macos_arm64_task:
image: ghcr.io/cirruslabs/macos-monterey-xcode image: ghcr.io/cirruslabs/macos-monterey-xcode
env: env:
PATH: $HOME/.cargo/bin:$PATH PATH: $HOME/.cargo/bin:$PATH
YARN_IGNORE_NODE: '1'
setup_script: setup_script:
- brew install node yarn - brew install node yarn
<<: *BUILD_AND_TEST <<: *BUILD_AND_TEST

View file

@ -9,7 +9,7 @@
"devDependencies": { "devDependencies": {
"@napi-rs/cli": "workspace:*", "@napi-rs/cli": "workspace:*",
"ava": "^5.3.1", "ava": "^5.3.1",
"sinon": "^15.2.0" "sinon": "^17.0.1"
}, },
"ava": { "ava": {
"extensions": [ "extensions": [

View file

@ -14,7 +14,7 @@
"@types/lodash": "^4.14.195", "@types/lodash": "^4.14.195",
"ava": "^5.3.1", "ava": "^5.3.1",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"electron": "^26.2.1", "electron": "^27.0.3",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"sinon": "^15.2.0" "sinon": "^15.2.0"
}, },
@ -32,8 +32,8 @@
"dependencies": { "dependencies": {
"@emnapi/core": "0.43.1", "@emnapi/core": "0.43.1",
"@tybys/wasm-util": "^0.8.0", "@tybys/wasm-util": "^0.8.0",
"@types/lodash": "^4.14.191", "@types/lodash": "^4.14.200",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"sinon": "^15.0.1" "sinon": "^17.0.1"
} }
} }

View file

@ -346,7 +346,7 @@ __metadata:
dependencies: dependencies:
"@napi-rs/cli": "workspace:*" "@napi-rs/cli": "workspace:*"
ava: "npm:^5.3.1" ava: "npm:^5.3.1"
sinon: "npm:^15.2.0" sinon: "npm:^17.0.1"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -360,7 +360,7 @@ __metadata:
"@types/lodash": "npm:^4.14.195" "@types/lodash": "npm:^4.14.195"
ava: "npm:^5.3.1" ava: "npm:^5.3.1"
cross-env: "npm:7.0.3" cross-env: "npm:7.0.3"
electron: "npm:^26.2.1" electron: "npm:^27.0.3"
lodash: "npm:^4.17.21" lodash: "npm:^4.17.21"
sinon: "npm:^15.2.0" sinon: "npm:^15.2.0"
languageName: unknown languageName: unknown
@ -3561,19 +3561,6 @@ __metadata:
languageName: node languageName: node
linkType: hard 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": "electron@npm:^27.0.3":
version: 27.0.3 version: 27.0.3
resolution: "electron@npm:27.0.3" resolution: "electron@npm:27.0.3"