Skip to content

Commit 065335a

Browse files
committed
Fix to publish.yml
1 parent 820b485 commit 065335a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
publish:
1919
name: Publish to NPM
2020
runs-on: ubuntu-latest
21+
# Only run on push events, not pull requests
22+
if: github.event_name == 'push'
2123

2224
steps:
2325
- name: Checkout code
@@ -28,8 +30,6 @@ jobs:
2830

2931
- name: Install pnpm
3032
uses: pnpm/action-setup@v4
31-
with:
32-
version: 8
3333

3434
- uses: actions/setup-node@v4
3535
with:

0 commit comments

Comments
 (0)