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 11name : Picker Plugins
22on :
33 push :
4- branches : [ develop, rewrite-sdk ]
4+ branches : [ develop ]
55 create :
66 tags :
77 - v*
@@ -28,11 +28,11 @@ jobs:
2828 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
2929 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3030 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 }}
3636 # - name: Deploy docs
3737 # uses: crazy-max/ghaction-github-pages@v2
3838 # with:
Original file line number Diff line number Diff line change 3737 "test:lint" : " eslint ." ,
3838 "test:unit" : " cross-env CI=1 react-scripts test --env=jsdom" ,
3939 "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" ,
4141 "release" : " standard-version"
4242 },
4343 "peerDependencies" : {
You can’t perform that action at this time.
0 commit comments