Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Nov 1, 2023
1 parent 2fcb643 commit 500887d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,10 @@ rustflags = ["-C", "link-args=-Wl,--warn-unresolved-symbols"]
[target.'cfg(target_os = "windows")']
rustflags = ["-C", "link-args=/FORCE"]

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
5 changes: 3 additions & 2 deletions .github/actions/pnpm-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Install Node.js with pnpm global cache

inputs:
node-version:
default: '16'
default: '18'
required: false
type: string
save-if:
Expand All @@ -19,9 +19,10 @@ runs:
using: composite
steps:
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
check-latest: true

# https://pnpm.io/continuous-integration#github-actions
# Uses `packageManagement` field from package.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
env:
DEBUG: napi:*
APP_NAME: pack-binding
APP_NAME: index
MACOSX_DEPLOYMENT_TARGET: '10.13'
permissions:
contents: write
Expand Down

0 comments on commit 500887d

Please sign in to comment.