chore(deps): bump prosemirror-view from 1.34.3 to 1.37.1 (#1701) #374
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
name: Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'packages/**' | |
- '.changeset/*.md' | |
jobs: | |
release-pkg: | |
name: Create release | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
outputs: | |
published: ${{ steps.changesets.outputs.published }} | |
hasChangesets: ${{ steps.changesets.outputs.hasChangesets }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup node and install deps | |
uses: ./.github/workflows/actions/node-setup | |
- name: Config git user | |
run: | | |
git config --global user.name "${{ github.actor }}" | |
git config --global user.email "${{ github.actor }}@users.noreply.github.com" | |
npm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}" | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- name: Create Release Pull Request or Publish to npm | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: '🤖 Bip Bop - Fusion Web Components Release' | |
commit: 'chore: version packages' | |
createGithubReleases: true | |
setupGitUser: false | |
publish: pnpm changeset:publish | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
documentation: | |
name: Update documentation | |
needs: release-pkg | |
if: needs.release-pkg.outputs.published == 'true' | |
uses: ./.github/workflows/generate-docs.yml | |
secrets: inherit |