Skip to content

Feature: panda-preset-color-radix: add contrast color option and scal… #22

Feature: panda-preset-color-radix: add contrast color option and scal…

Feature: panda-preset-color-radix: add contrast color option and scal… #22

Workflow file for this run

name: Release
on:
push:
paths:
- '.changeset/**'
- 'packages/**'
- '.npmrc'
- 'biome.json'
- 'bunfig.toml'
- 'package.json'
- 'tsconfig.build.json'
- 'tsconfig.json'
- 'tsup.config.ts'
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install
uses: ./.github/composite-actions/install
- name: Build packages
run: pnpm build
- name: Publish packages
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_PAT}}
- name: Release to dev tag
if: steps.changesets.outputs.published != 'true'
run: |
git checkout main
pnpm release:dev:version
pnpm release:dev:publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_PAT}}