Skip to content

Commit 1f32e3c

Browse files
committed
Publish on release
1 parent 03e1c1a commit 1f32e3c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: Pubish to NPM
1+
name: NPM Publish
22

33
on:
4-
push:
5-
branches: master
4+
release:
5+
types:
6+
- published
67

78
jobs:
8-
publish:
9-
name: Publish
9+
publish-to-npm:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version-file: '.nvmrc'
15+
node-version-file: .nvmrc
1616
- run: npm ci
1717
- uses: JS-DevTools/npm-publish@v3
1818
with:

0 commit comments

Comments
 (0)