Skip to content

Commit 442361b

Browse files
committed
v0.1.0 (#8)
1 parent bc816d4 commit 442361b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ jobs:
388388
name: Publish
389389
runs-on: ubuntu-latest
390390
environment: npm
391+
if: contains(github.ref, 'main')
391392
needs:
392393
- test-macOS-windows-binding
393394
- test-linux-binding
@@ -440,11 +441,9 @@ jobs:
440441
shell: bash
441442
- name: Update npm
442443
run: npm install -g npm@latest
443-
- name: Pack
444-
if: ${{ !contains(github.ref, 'main') }}
445-
run: npm pack
446444
- name: Publish
447-
if: contains(github.ref, 'main')
445+
env:
446+
GITHUB_TOKEN: ${{ github.token }}
448447
run: |
449448
if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+";
450449
then

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ fix-python-soname
1616
artifacts
1717
build.rs
1818
rust-toolchain.toml
19+
AGENTS.md
1920
CLAUDE.md
2021
Cargo.toml
22+
!index.js
23+
!index.d.ts

0 commit comments

Comments
 (0)