File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : react-native-flip-toggle-button
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v1
12+ - uses : actions/setup-node@v1
13+ with :
14+ node-version : 12
15+
16+ publish-npm :
17+ needs : build
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v1
21+ - uses : actions/setup-node@v1
22+ with :
23+ node-version : 12
24+ registry-url : https://registry.npmjs.org/
25+ - run : npm publish
26+ env :
27+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
28+
29+ publish-gpr :
30+ needs : build
31+ runs-on : ubuntu-latest
32+ steps :
33+ - uses : actions/checkout@v1
34+ - uses : actions/setup-node@v1
35+ with :
36+ node-version : 12
37+ registry-url : https://npm.pkg.github.com/
38+ scope : ' @ashishpandey001'
39+ - run : npm publish
40+ env :
41+ NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments