Skip to content

Commit a104c88

Browse files
committedDec 5, 2022
chore: update workflows config.
1 parent 790a8c4 commit a104c88

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ jobs:
111111
token: ${{ secrets.NPM_TOKEN }}
112112
package: ./themes/okaidia/package.json
113113

114+
115+
- name: 📦 @uiw/codemirror-theme-solarized publish to NPM
116+
uses: JS-DevTools/npm-publish@v1
117+
with:
118+
token: ${{ secrets.NPM_TOKEN }}
119+
package: ./themes/solarized/package.json
120+
114121
- name: 📦 @uiw/codemirror-theme-abcdef publish to NPM
115122
uses: JS-DevTools/npm-publish@v1
116123
with:
@@ -374,6 +381,20 @@ jobs:
374381
env:
375382
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
376383

384+
385+
- name: Modify @uiw/codemirror-theme-solarized => @uiwjs/codemirror-theme-solarized
386+
uses: jaywcjlove/github-action-package@main
387+
with:
388+
path: themes/solarized/package.json
389+
rename: "@uiwjs/codemirror-theme-solarized"
390+
391+
- run: npm publish
392+
working-directory: themes/solarized
393+
continue-on-error: true
394+
env:
395+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
396+
397+
377398
- name: Modify @uiw/codemirror-theme-dracula => @uiwjs/codemirror-theme-dracula
378399
uses: jaywcjlove/github-action-package@main
379400
with:

0 commit comments

Comments
 (0)
Please sign in to comment.