Skip to content

release-it

release-it #2

Workflow file for this run

name: release-it
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{ secrets.RELEASER_APP_ID }}
private_key: ${{ secrets.RELEASER_PRIVATE_KEY }}
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ steps.generate_token.outputs.token }}
fetch-depth: 0
- name: git config
run: |
git config user.email "[email protected]"
git config user.name "raydak-releaser[bot]"
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- run: pnpm install
- run: pnpm release-it --ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}