Skip to content

test: 🧪 improve tests locally (#312) #97

test: 🧪 improve tests locally (#312)

test: 🧪 improve tests locally (#312) #97

Workflow file for this run

name: Release new version
on:
push:
branches:
- 'main'
permissions:
contents: read # for checkout
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.2
- 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