Skip to content

chore: release v0.0.14 #12

chore: release v0.0.14

chore: release v0.0.14 #12

Workflow file for this run

name: Release
permissions:
contents: write
id-token: write
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v6
with:
node-version: lts/*
registry-url: "https://registry.npmjs.org"
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
- name: 👀 Lint
run: pnpm lint
- name: 🔍 Typecheck
run: pnpm typecheck
- name: 🧪 Test
run: pnpm vitest run
- name: 🚀 Build
run: pnpm build
- name: 📦 Publish to npm
run: pnpm publish --provenance --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: 📝 Generate changelog
run: pnpm dlx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 📊 Summary
run: |
echo "## Release Complete 🚀" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Version:** ${{ github.ref_name }}" >> $GITHUB_STEP_SUMMARY