Skip to content

Commit 72606b6

Browse files
committed
test(publish-npm): run on pull-request
1 parent 3f48238 commit 72606b6

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
name: publish-npm
22

33
on:
4-
workflow_run:
5-
workflows: [build]
6-
types: [completed]
4+
pull_request:
75

86
permissions:
97
id-token: write # OIDC for npm Trusted Publishing
108

119
jobs:
1210
on-success:
1311
runs-on: ubuntu-latest
14-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1512
steps:
1613
- name: Checkout
1714
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -35,6 +32,6 @@ jobs:
3532
- name: Install latest npm
3633
run: npm install -g npm@latest
3734

38-
- name: Publish
39-
working-directory: ./pkg
40-
run: npm publish --access public --provenance
35+
#- name: Publish
36+
# working-directory: ./pkg
37+
# run: npm publish --access public --provenance

0 commit comments

Comments
 (0)