Skip to content

Commit f2d1ae3

Browse files
committed
ci(gh-actions): uncomment gh-actions yml file
1 parent 0a68554 commit f2d1ae3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Picker Plugins
22
on:
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:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
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": {

0 commit comments

Comments
 (0)