Release #22
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 | |
on: [workflow_dispatch] | |
concurrency: release | |
jobs: | |
release: | |
name: Run semantic release | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.BOT_GITHUB_TOKEN_PUBLIC }} | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: "latest" | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build output | |
run: pnpm build | |
- name: Run semantic release | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN_PUBLIC }} | |
GIT_AUTHOR_NAME: ${{ secrets.BOT_NAME }} | |
GIT_AUTHOR_EMAIL: ${{ secrets.BOT_EMAIL }} | |
GIT_COMMITTER_NAME: ${{ secrets.BOT_NAME }} | |
GIT_COMMITTER_EMAIL: ${{ secrets.BOT_EMAIL }} | |
run: pnpm semantic-release |