We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd8262 commit 9eeac92Copy full SHA for 9eeac92
.github/workflows/create-release-on-github.yml
@@ -1,5 +1,6 @@
1
name: Publish to NPM
2
on:
3
+ workflow_dispatch:
4
pull_request:
5
types:
6
- closed
@@ -11,8 +12,10 @@ jobs:
11
12
publish-to-npm:
13
runs-on: ubuntu-latest
14
if: |
- github.event.pull_request.merged == true &&
15
- contains(github.event.pull_request.title, 'chore: Release')
+ github.event_name == 'workflow_dispatch' || (
16
+ github.event.pull_request.merged == true &&
17
+ contains(github.event.pull_request.title, 'chore: Release')
18
+ )
19
20
steps:
21
- name: Checkout
@@ -57,7 +60,7 @@ jobs:
57
60
bun publish
58
61
fi
59
62
env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63
+ NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
64
65
- name: Create release notes
66
uses: actions/github-script@v8
0 commit comments