Skip to content

Version Packages (#318) #361

Version Packages (#318)

Version Packages (#318) #361

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
steps:
- name: ⬇️ Checkout Repo
uses: actions/checkout@v4
with:
token: ${{ secrets.SERVICE_TOKEN }}
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: pnpm run build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: ./scripts/update-lockfile.sh
publish: pnpm run changeset:release
env:
GITHUB_TOKEN: ${{ secrets.SERVICE_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}