Skip to content

Commit 49d36d9

Browse files
committedJul 11, 2023
ci:更新 ci 发包
1 parent 03f2aad commit 49d36d9

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed
 

‎.github/workflows/ci.yml

+26-20
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,32 @@ jobs:
5757
5858
- run: git status
5959

60-
- name: 📦 @uiw/react-native publish to NPM
61-
run: npm publish
62-
working-directory: packages/core
63-
continue-on-error: true
64-
env:
65-
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
66-
67-
- name: 📦 @uiw/react-native-doc publish to NPM
68-
run: npm publish
69-
working-directory: packages/docs
70-
continue-on-error: true
71-
env:
72-
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
73-
74-
- name: 📦 @uiw/react-native-image-picker publish to NPM
75-
run: npm publish
76-
working-directory: packages/react-native-image-picker
77-
continue-on-error: true
78-
env:
79-
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
60+
- name: 📦 publish to NPM
61+
uses: kktjs/npm-publish@main
62+
with:
63+
token: ${{ secrets.NPM_TOKEN }}
64+
workspaces: packages/*
65+
66+
# - name: 📦 @uiw/react-native publish to NPM
67+
# run: npm publish
68+
# working-directory: packages/core
69+
# continue-on-error: true
70+
# env:
71+
# NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
72+
73+
# - name: 📦 @uiw/react-native-doc publish to NPM
74+
# run: npm publish
75+
# working-directory: packages/docs
76+
# continue-on-error: true
77+
# env:
78+
# NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
79+
80+
# - name: 📦 @uiw/react-native-image-picker publish to NPM
81+
# run: npm publish
82+
# working-directory: packages/react-native-image-picker
83+
# continue-on-error: true
84+
# env:
85+
# NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
8086

8187
- name: Deploy
8288
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)
Please sign in to comment.