Skip to content

chore(deps): bump prosemirror-view from 1.34.3 to 1.37.1 (#1701) #374

chore(deps): bump prosemirror-view from 1.34.3 to 1.37.1 (#1701)

chore(deps): bump prosemirror-view from 1.34.3 to 1.37.1 (#1701) #374

Workflow file for this run

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