chore(release): publish #12
Workflow file for this run
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 | |
on: | |
push: | |
tags: | |
- '*@*.*.*' | |
permissions: | |
contents: read | |
packages: write | |
id-token: write # needed for provenance data generation | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup pnpm | |
uses: ./.github/actions/setup | |
- name: Print Environment Info | |
run: npx nx report | |
- name: Build | |
run: pnpm primitives:build | |
- name: Build shadcn | |
run: pnpm shadcn:build | |
- name: Publish package | |
run: npx nx release publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |