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 Dec 5, 2022
1 parent 790a8c4 commit a104c88
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -111,6 +111,13 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
package: ./themes/okaidia/package.json


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

- name: 📦 @uiw/codemirror-theme-abcdef publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
Expand Down Expand Up @@ -374,6 +381,20 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}


- name: Modify @uiw/codemirror-theme-solarized => @uiwjs/codemirror-theme-solarized
uses: jaywcjlove/github-action-package@main
with:
path: themes/solarized/package.json
rename: "@uiwjs/codemirror-theme-solarized"

- run: npm publish
working-directory: themes/solarized
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}


- name: Modify @uiw/codemirror-theme-dracula => @uiwjs/codemirror-theme-dracula
uses: jaywcjlove/github-action-package@main
with:
Expand Down

0 comments on commit a104c88

Please sign in to comment.