Skip to content

Commit

Permalink
ci: publish to NPM when you publish a draft release
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-lindgren committed Nov 5, 2024
1 parent 0e8bc83 commit 37b422b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish CLI to NPM

on:
release:
types: [created]
types: [published]

jobs:
publish-npm:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish library to NPM

on:
release:
types: [created]
types: [published]

jobs:
publish-npm:
Expand Down

0 comments on commit 37b422b

Please sign in to comment.