Skip to content

Commit 35ce63b

Browse files
ci: add publish workflow
1 parent f2bb208 commit 35ce63b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
push:
3+
branches: ['main']
4+
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: '20'
13+
- uses: JS-DevTools/npm-publish@v3
14+
with:
15+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)