Update README.md #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- uses: ./.github/setup | |
- name: Build | |
run: bun run build | |
# Using custom token `MY_GITHUB_TOKEN` with more access to avoid rate limiting | |
- name: Create Release | |
id: changeset | |
uses: changesets/[email protected] | |
with: | |
commit: "chore(release): 📦 version packages" | |
title: "chore(release): 📦 version packages" | |
publish: bunx changeset publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |