Skip to content

Commit a0547cd

Browse files
authored
👷 add npm publish action
1 parent f879dae commit a0547cd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/npm_publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: 16
14+
- run: npm install
15+
- uses: JS-DevTools/npm-publish@v1
16+
with:
17+
token: ${{ secrets.NPM_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)