Skip to content

Commit 709fabb

Browse files
committedDec 7, 2022
chore: update workflows config.
1 parent 6f5a908 commit 709fabb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

‎.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ jobs:
226226
token: ${{ secrets.NPM_TOKEN }}
227227
package: ./themes/tokyo-night-storm/package.json
228228

229+
- name: 📦 @uiw/codemirror-theme-tokyo-night-day publish to NPM
230+
uses: JS-DevTools/npm-publish@v1
231+
with:
232+
token: ${{ secrets.NPM_TOKEN }}
233+
package: ./themes/tokyo-night-day/package.json
234+
229235
- name: 📦 @uiw/codemirror-theme-vscode publish to NPM
230236
uses: JS-DevTools/npm-publish@v1
231237
with:
@@ -589,6 +595,18 @@ jobs:
589595
env:
590596
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
591597

598+
- name: Modify @uiw/codemirror-theme-tokyo-night-day => @uiwjs/codemirror-theme-tokyo-night-day
599+
uses: jaywcjlove/github-action-package@main
600+
with:
601+
path: themes/tokyo-night-day/package.json
602+
rename: "@uiwjs/codemirror-theme-tokyo-night-day"
603+
604+
- run: npm publish
605+
working-directory: themes/tokyo-night-day
606+
continue-on-error: true
607+
env:
608+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
609+
592610
- name: Modify @uiw/codemirror-theme-vscode => @uiwjs/codemirror-theme-vscode
593611
uses: jaywcjlove/github-action-package@main
594612
with:

0 commit comments

Comments
 (0)
Please sign in to comment.