Skip to content

Publish packages πŸš€ (#353) #662

Publish packages πŸš€ (#353)

Publish packages πŸš€ (#353) #662

Workflow file for this run

name: Changesets
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changesets:
name: Changesets πŸ¦‹
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
token: ${{ secrets.DEPLOY_GITHUB_TOKEN }}
- uses: ./.github/workflows/actions/prepare
# @see https://github.com/changesets/action
- uses: changesets/action@v1
with:
title: 'Publish packages πŸš€'
commit: 'Publish packages'
version: pnpm run packages.version
publish: pnpm exec changeset tag
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_GITHUB_TOKEN }}