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 7, 2022
1 parent 6f5a908 commit 709fabb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -226,6 +226,12 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
package: ./themes/tokyo-night-storm/package.json

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

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

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

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

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

0 comments on commit 709fabb

Please sign in to comment.