Skip to content

chore: release v0.6.0 #11

chore: release v0.6.0

chore: release v0.6.0 #11

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install & Build
run: corepack enable && pnpm install --frozen-lockfile && pnpm build
- name: Lint & Typecheck
run: pnpm lint && pnpm typecheck
- name: Set NPM access token
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
- name: Publish to NPM
run: pnpm publish --no-git-checks
- name: Publish Github Release
run: npx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}