Skip to content

Commit

Permalink
fix(*): move away from corepack and update Node CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickersoft committed Nov 23, 2024
1 parent ba39a43 commit 3169c01
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ jobs:
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
npm i -g pnpm
pnpm --filter="@odict/node" test
ls -la
test-linux-aarch64-musl-binding:
Expand Down Expand Up @@ -370,6 +371,7 @@ jobs:
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
npm i -g pnpm
pnpm --filter="@odict/node" test
test-linux-arm-gnueabihf-binding:
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
Expand Down Expand Up @@ -410,7 +412,7 @@ jobs:
options: "--platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
npm i -g
npm i -g pnpm
pnpm --filter="@odict/node" test
ls -la
publish:
Expand All @@ -424,7 +426,6 @@ jobs:
- test-linux-aarch64-gnu-binding
- test-linux-aarch64-musl-binding
- test-linux-arm-gnueabihf-binding
- universal-macOS
steps:
- uses: actions/checkout@v4
- name: Setup PNPM
Expand Down
3 changes: 1 addition & 2 deletions bindings/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,5 @@
"@odict/node-win32-arm64-msvc": "0.0.0",
"@odict/node-win32-ia32-msvc": "0.0.0",
"@odict/node-win32-x64-msvc": "0.0.0"
},
"packageManager": "[email protected]+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387"
}
}
1 change: 1 addition & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ java = "adoptopenjdk-21.0.5+11.0.LTS"
python = "3.13.0"
act = "0.2.69"
"cargo:cargo-insta" = "1.41.1"
pnpm = "latest"

[task_config]
includes = [
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "root",
"private": true,
"packageManager": "[email protected]+sha512.f18a59ca3611002321af7681e6d49234cb3ece8496b05818be5b1081168ec21b8c3d28cbb4351e2fdec66ca95e6516faaf08b95b755013c88cf5174d5029865c"
"private": true
}
2 changes: 1 addition & 1 deletion tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ run = "rm -rf **/*.odict"
depends = ["test:*"]

[setup]
run = ["mise install", "corepack enable", "pnpm install --no-frozen-lockfile"]
run = ["mise install", "pnpm install --no-frozen-lockfile"]

["build-all"]
depends = ["build:*"]
Expand Down

0 comments on commit 3169c01

Please sign in to comment.