Skip to content

Publish

Publish #200

Workflow file for this run

name: Publish
on:
workflow_dispatch:
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@main
with:
fetch-depth: 0
persist-credentials: true # needed for git push
- uses: ./.github/actions/setup-deps
- run: pnpm build:packages
- name: git config
run: |
git config --global user.name 'Thinkmill Release Bot'
git config --global user.email '[email protected]'
- name: npm publish, git tag
run: pnpm changeset publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: git push origin --follow-tags