Skip to content

chore: update dependencies #80

chore: update dependencies

chore: update dependencies #80

# .github/workflows/release-please.yml
# This workflow handles the release-please system that manages releasing new versions.
# It also calls `publish-npm.yml`, which then handles publishing to npmjs.
# See: https://github.com/googleapis/release-please
name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v3 # Handle local releases
id: release
with:
release-type: node
package-name: openbim-components
publish-npm:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: ./.github/workflows/publish-npm.yml # Publish to npmjs
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# Publish only if release-please creates a published release