Skip to content

Release

Release #2

Workflow file for this run

name: Release
on: workflow_dispatch
jobs:
checks:
uses: ./.github/workflows/ci.yml
release:
needs: checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Tag and Release
run: |
pnpm ci:version
git add .
git commit -m "chore(release): publish"
pnpm get-tag
git tag "$(<./version.output.txt)"
pnpm ci:publish
git push && git push --tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}