Skip to content

publish

publish #3

Workflow file for this run

name: publish
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
secrets:
NPM_TOKEN:
required: true
permissions:
actions: read
contents: write
issues: write
pull-requests: write
jobs:
publish:
name: Bump package versions and publish to npm.
environment: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- name: Create Release Pull or publish changes
uses: changesets/action@v1
with:
commit: "chore: bump package versions"
publish: pnpm run release
title: "[Changesets] Bump package versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}