Skip to content

Commit 2992154

Browse files
authored
Setup npm publish CI
1 parent 96f3bb7 commit 2992154

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: asset crush reactjs sdk
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*'
7+
8+
workflow_dispatch:
9+
10+
jobs:
11+
publish-npm:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 14.17.6
18+
registry-url: https://registry.npmjs.org/
19+
- run: npm publish --access public
20+
env:
21+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 commit comments

Comments
 (0)