Skip to content

Update yarn config

Update yarn config #12

# .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
steps:
- uses: google-github-actions/release-please-action@v3 # Handle local releases
id: release
with:
release-type: node
package-name: openbim-components
- uses: ./.github/workflows/publish-npm.yml # Publish to npmjs
with:
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Check failure on line 25 in .github/workflows/release-please.yml

View workflow run for this annotation

GitHub Actions / release-please

Invalid workflow file

The workflow is not valid. .github/workflows/release-please.yml (Line: 25, Col: 13): A mapping was not expected
# Publish only if release-please creates a published release
if: ${{ steps.release.outputs.release_created }}