chore(deps-dev): bump @easyops-cn/docusaurus-search-local (#623) #292
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: [main] | |
permissions: | |
contents: write | |
pull-requests: write | |
name: Release Please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- id: release | |
name: Release Please | |
uses: googleapis/release-please-action@v4 | |
with: | |
release-type: node | |
package-name: '@vis.gl/react-google-maps' | |
bump-minor-pre-major: true | |
# Below are the actions for actual npm publishing when a release-branch was merged. | |
- if: ${{ steps.release.outputs.release_created }} | |
name: Checkout | |
uses: actions/checkout@v4 | |
- if: ${{ steps.release.outputs.release_created }} | |
name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
registry-url: 'https://registry.npmjs.org' | |
- if: ${{ steps.release.outputs.release_created }} | |
name: Install Dependencies | |
run: npm ci | |
- if: ${{ steps.release.outputs.release_created }} | |
name: Publish | |
# npm publish will trigger the build via the prepack hook | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}} |