Skip to content

fix(ci): pnpm publish to allow unclean tree #10

fix(ci): pnpm publish to allow unclean tree

fix(ci): pnpm publish to allow unclean tree #10

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Create release PR or publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm run version
commit: 'chore: version packages'
title: 'chore: version packages'
publish: pnpm publish:npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}