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 Jul 29, 2023
1 parent 7d3d35f commit e643645
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
with:
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
avatarSize: 42
output: build/CONTRIBUTORS.svg
output: www/build/CONTRIBUTORS.svg

- name: ♻️ Is a tag created auto?
id: create_tag
uses: jaywcjlove/create-tag-action@main
with:
package-path: ./package.json
package-path: ./core/package.json

- name: get tag version
id: tag_version
Expand All @@ -39,7 +39,7 @@ jobs:
with:
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_dir: ./www/build

- name: 📝 Generate Changelog
id: changelog
Expand All @@ -52,7 +52,7 @@ jobs:
- name: ♻️ Create Release
uses: jaywcjlove/create-tag-action@main
with:
package-path: ./package.json
package-path: ./core/package.json
release: true
body: |
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-monacoeditor@${{steps.create_tag.outputs.versionNumber}}/file/README.md)
Expand All @@ -67,6 +67,7 @@ jobs:
- run: npm publish --access public
name: 📦 @uiw/react-monacoeditor publish to NPM
continue-on-error: true
working-directory: core
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e643645

Please sign in to comment.