Publish (package versions) #52
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: Publish (package versions) | |
on: workflow_dispatch | |
jobs: | |
changesets: | |
name: Publish Package Versions to NPM | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Publish versions to NPM | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
title: "chore: version packages" | |
commit: "chore: version packages" | |
publish: pnpm changeset:release | |
version: pnpm changeset:version | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |