Skip to content

feat: add hook option to control when plugin is ran (#133) #63

feat: add hook option to control when plugin is ran (#133)

feat: add hook option to control when plugin is ran (#133) #63

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-repo
- run: pnpm run build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: 'chore: update versions'
commit: 'chore: update versions'
version: pnpm run release:version
publish: pnpm run release:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true # https://github.com/changesets/changesets/issues/1152