diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07530b9d6..d63396d05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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: