Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Oct 13, 2024
1 parent f331f79 commit dd1cb37
Show file tree
Hide file tree
Showing 5 changed files with 2,058 additions and 1,504 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
run_install: |
args: [--ignore-scripts]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
run_install: |
args: [--ignore-scripts]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
Expand Down
3 changes: 2 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"target_name": "jieba",
"cflags!": [ "-fno-exceptions" ],
"cflags_cc!": [ "-fno-exceptions" ],
"xcode_settings": { "GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"xcode_settings": {
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"CLANG_CXX_LIBRARY": "libc++",
"MACOSX_DEPLOYMENT_TARGET": "10.7",
},
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,24 @@
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"node-addon-api": "^7.0.0",
"node-gyp": "^10.0.1"
"node-addon-api": "^8.2.1",
"node-gyp": "^10.2.0"
},
"devDependencies": {
"@types/node": "20.10.0",
"@vitest/coverage-v8": "0.34.6",
"esbuild": "0.19.8",
"node-pre-gyp-github": "1.4.4",
"rimraf": "5.0.5",
"rollup": "4.6.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-esbuild": "6.1.0",
"typescript": "5.3.2",
"vitest": "0.34.6"
"@types/node": "22.7.5",
"@vitest/coverage-v8": "2.1.2",
"esbuild": "0.24.0",
"node-pre-gyp-github": "2.0.0",
"rimraf": "6.0.1",
"rollup": "4.24.0",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"typescript": "5.6.3",
"vitest": "2.1.2"
},
"packageManager": "pnpm@8.11.0",
"packageManager": "pnpm@9.12.1",
"engines": {
"node": "^18.0.0 || ^20.0.0"
"node": "^18.0.0 || ^20.0.0 || ^22.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit dd1cb37

Please sign in to comment.