Merge pull request #2345 from sidorares/dependabot/npm_and_yarn/websi… #345
This file contains 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
on: | |
push: | |
branches: | |
- master | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release | |
with: | |
release-type: node | |
package-name: mysql2 | |
changelog-path: 'Changelog.md' | |
- uses: actions/checkout@v3 | |
if: ${{ steps.release.outputs.release_created }} | |
- uses: actions/setup-node@v3 | |
if: ${{ steps.release.outputs.release_created }} | |
with: | |
node-version: 16 | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm ci | |
if: ${{ steps.release.outputs.release_created }} | |
- run: npm publish | |
if: ${{ steps.release.outputs.release_created }} | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |