File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Picker Plugins
2
2
on :
3
3
push :
4
- branches : [ develop, rewrite-sdk ]
4
+ branches : [ develop ]
5
5
create :
6
6
tags :
7
7
- v*
@@ -28,11 +28,11 @@ jobs:
28
28
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
29
29
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
30
30
AWS_REGION : ${{ secrets.AWS_REGION }}
31
- # - name: Publush to NPM
32
- # if: startsWith(github.ref, 'refs/tags/')
33
- # run: npm publish
34
- # env:
35
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31
+ - name : Publush to NPM (only on tag)
32
+ if : startsWith(github.ref, 'refs/tags/')
33
+ run : npm publish
34
+ env :
35
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
36
36
# - name: Deploy docs
37
37
# uses: crazy-max/ghaction-github-pages@v2
38
38
# with:
Original file line number Diff line number Diff line change 37
37
"test:lint" : " eslint ." ,
38
38
"test:unit" : " cross-env CI=1 react-scripts test --env=jsdom" ,
39
39
"test:watch" : " react-scripts test --env=jsdom" ,
40
- "docs:build" : " cd example && npm install && npm run build" ,
40
+ "docs:build" : " cd example && npm run build" ,
41
41
"release" : " standard-version"
42
42
},
43
43
"peerDependencies" : {
You can’t perform that action at this time.
0 commit comments