Skip to content

refactor: package

refactor: package #39

Workflow file for this run

name: Changeset
on:
push:
branches:
- main
concurrency:
group: changeset
cancel-in-progress: true
jobs:
changeset:
name: Changeset
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- name: checkout
uses: actions/checkout@v3
- name: pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: node
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: install
run: pnpm install
- name: build
run: pnpm build --filter='./packages/*'
- name: changesets
id: changesets
uses: changesets/action@v1
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true