v0.7.3 #17
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 Stable Version | |
on: | |
release: | |
types: | |
- published | |
env: | |
CI: true | |
AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
jobs: | |
publish-npm-stable: | |
runs-on: ubuntu-latest | |
name: Build & Publish Stable Version to NPM | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.1.4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
- run: echo "//registry.npmjs.org/:_authToken=$AUTH_TOKEN" >> .npmrc | |
- run: pnpm install | |
- run: pnpm run publish --stable | |
working-directory: ./configs | |
# There is a bug in JSR publishing the errors with next versions | |
# So we are creating a new job for each public package | |
publish-preset-jsr-latest: | |
runs-on: ubuntu-latest | |
name: Publish Preset Latest Version to JSR | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.1.4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run publish:jsr --stable | |
working-directory: ./configs | |
- run: pnpm dlx jsr publish --allow-dirty | |
working-directory: ./packages/panda-preset | |
publish-icons-jsr-latest: | |
runs-on: ubuntu-latest | |
name: Publish Icons Latest Version to JSR | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.1.4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run publish:jsr --stable | |
working-directory: ./configs | |
- run: pnpm dlx jsr publish --allow-dirty | |
working-directory: ./packages/icons | |
publish-styled-system-jsr-latest: | |
runs-on: ubuntu-latest | |
name: Publish Styled-System Stable Version to JSR | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9.1.4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run publish:jsr --stable | |
working-directory: ./configs | |
- run: pnpm dlx jsr publish --allow-dirty --allow-slow-types | |
working-directory: ./packages/styled-system |