Skip to content

Commit

Permalink
ci:更新 ci 发包
Browse files Browse the repository at this point in the history
  • Loading branch information
SunLxy committed Jul 11, 2023
1 parent 03f2aad commit 49d36d9
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,32 @@ jobs:
- run: git status

- name: 📦 @uiw/react-native publish to NPM
run: npm publish
working-directory: packages/core
continue-on-error: true
env:
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

- name: 📦 @uiw/react-native-doc publish to NPM
run: npm publish
working-directory: packages/docs
continue-on-error: true
env:
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

- name: 📦 @uiw/react-native-image-picker publish to NPM
run: npm publish
working-directory: packages/react-native-image-picker
continue-on-error: true
env:
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
- name: 📦 publish to NPM
uses: kktjs/npm-publish@main
with:
token: ${{ secrets.NPM_TOKEN }}
workspaces: packages/*

# - name: 📦 @uiw/react-native publish to NPM
# run: npm publish
# working-directory: packages/core
# continue-on-error: true
# env:
# NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

# - name: 📦 @uiw/react-native-doc publish to NPM
# run: npm publish
# working-directory: packages/docs
# continue-on-error: true
# env:
# NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

# - name: 📦 @uiw/react-native-image-picker publish to NPM
# run: npm publish
# working-directory: packages/react-native-image-picker
# continue-on-error: true
# env:
# NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 49d36d9

Please sign in to comment.