Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 7, 2022
1 parent ab6971a commit 4c70f85
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ jobs:
package: ./themes/theme/package.json


- name: 📦 @uiw/codemirror-themes-all publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./themes/all/package.json


- name: 📦 @uiw/codemirror-theme-okaidia publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
Expand Down Expand Up @@ -279,6 +286,21 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}


- name: Modify @uiw/codemirror-themes-all => @uiwjs/codemirror-themes-all
uses: jaywcjlove/github-action-package@main
if: success() || failure()
with:
path: themes/all/package.json
data: |
{ "name": "@uiwjs/codemirror-themes-all" }
- run: npm publish
working-directory: themes/all
if: success() || failure()
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}


- name: Modify @uiw/codemirror-theme-androidstudio => @uiwjs/codemirror-theme-androidstudio
uses: jaywcjlove/github-action-package@main
if: success() || failure()
Expand Down

0 comments on commit 4c70f85

Please sign in to comment.