Skip to content

chore(deps): update wagoid/commitlint-github-action action to v5.4.6 … #540

chore(deps): update wagoid/commitlint-github-action action to v5.4.6 …

chore(deps): update wagoid/commitlint-github-action action to v5.4.6 … #540

Workflow file for this run

on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Create Release
id: release
uses: google-github-actions/release-please-action@078b9b8dda7799db29972b379561ff8e19b08e82 # v4.0.3
# see https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md#using-with-github-actions-and-lerna
- name: Checkout Repository
if: ${{ steps.release.outputs.releases_created }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
if: ${{ steps.release.outputs.releases_created }}
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Upgrade npm
if: ${{ steps.release.outputs.releases_created }}
run: npm i -g npm@latest
- name: Build Package
if: ${{ steps.release.outputs.releases_created }}
uses: bahmutov/npm-install@3da6b44b121fcdcb64528100e3dcfaffb39159e5 # v1.8.40
# Release Please has already incremented versions and published tags, so we just
# need to publish all unpublished versions to NPM here
# See: https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package
- name: Publish to npm
if: ${{ steps.release.outputs.releases_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: node ./scripts/publish.js