Skip to content

Commit

Permalink
ci: filter trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Dec 29, 2024
1 parent 3d1702d commit cdc2a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Publish to npm

on:
release:
published:

permissions:
contents: read
Expand Down Expand Up @@ -31,7 +32,7 @@ jobs:
run: |
VERSION=${{ github.event.release.tag_name }}
echo "Updating package.json version to $VERSION"
npm version --no-git-tag-version $VERSION
npm version --no-git-tag-version $VERSION
- name: Publish to npm
run: npm publish --provenance --access public
env:
Expand Down

0 comments on commit cdc2a35

Please sign in to comment.