File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Release CI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ strategy :
13+ matrix :
14+ node-version : [12.x]
15+
16+ steps :
17+ - uses : actions/checkout@v1
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v1
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+ - name : yarn build
23+ run : |
24+ yarn
25+ yarn build
26+ env :
27+ CI : true
28+ - name : npm login & publish
29+ run : |
30+ echo '//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}' > ~/.npmrc
31+ npm publish
32+
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-animated-linear-gradient" ,
3- "version" : " 1.2.0 " ,
3+ "version" : " 1.2.1 " ,
44 "description" : " Animated linear gradient as background animation or other." ,
55 "main" : " index.js" ,
66 "scripts" : {
3434 "prop-types" : " ^15.6.0" ,
3535 "rgb2hex" : " ^0.1.0"
3636 }
37- }
37+ }
You can’t perform that action at this time.
0 commit comments