Merge pull request #444 from Tiliavir/dependabot/npm_and_yarn/jasmine… #392
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: npm-publish | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| npm-publish: | |
| name: npm-publish | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Publish if version has been updated | |
| uses: pascalgn/[email protected] | |
| with: | |
| tag_name: "%s" | |
| tag_message: "%s" | |
| create_tag: "true" | |
| commit_pattern: "^Release (\\S+)" | |
| workspace: "." | |
| publish_command: "yarn" | |
| publish_args: "--non-interactive" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |