Skip to content

fix: add explicit type for exported function components (#611) #281

fix: add explicit type for exported function components (#611)

fix: add explicit type for exported function components (#611) #281

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}}