Remove auto-generated napi files from version control
index.js and index.d.ts are generated by napi-rs. Generate them at publish time via `napi prepublish` instead of checking them in. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
fba0a644ef
commit
176d1ff2a3
@@ -76,6 +76,18 @@ jobs:
|
||||
with:
|
||||
path: napi/artifacts
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: napi
|
||||
run: bun install
|
||||
|
||||
- name: Generate JS bindings
|
||||
working-directory: napi
|
||||
run: bunx napi prepublish --skip-gh-release
|
||||
|
||||
- name: Collect binaries and publish
|
||||
working-directory: napi
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user