chore(release/components): fix URL for redirect #556
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 new version | |
on: | |
push: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
permissions: | |
contents: read # for checkout | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install dependencies | |
run: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=true pnpm i | |
- name: (tokens) Run Semantic Release | |
env: | |
GH_TOKEN: ${{ secrets.PAT_RELEASE_KARL }} | |
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN_MARIO_HAMANN }} | |
run: cd packages/tokens && pnpm release | |
- name: (placeholders) Run Semantic Release | |
env: | |
GH_TOKEN: ${{ secrets.PAT_RELEASE_KARL }} | |
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN_MARIO_HAMANN }} | |
run: cd packages/placeholders && pnpm release | |
- name: (components) Run Semantic Release | |
env: | |
GH_TOKEN: ${{ secrets.PAT_RELEASE_KARL }} | |
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN_MARIO_HAMANN }} | |
run: cd packages/components && pnpm release | |
- name: (theming) Run Semantic Release | |
env: | |
GH_TOKEN: ${{ secrets.PAT_RELEASE_KARL }} | |
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN_MARIO_HAMANN }} | |
run: cd packages/theming && pnpm release | |
- name: (docs) Run Semantic Release | |
env: | |
GH_TOKEN: ${{ secrets.PAT_RELEASE_KARL }} | |
run: cd packages/docs && pnpm release |