Skip to content

chore: bump 0.1.8 → 0.1.9,纳入优化后的演示录制,忽略 playwright 调试目录 #32

chore: bump 0.1.8 → 0.1.9,纳入优化后的演示录制,忽略 playwright 调试目录

chore: bump 0.1.8 → 0.1.9,纳入优化后的演示录制,忽略 playwright 调试目录 #32

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
permissions:
contents: read
id-token: write
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
BUN_VERSION: "1.3.14"
jobs:
check:
name: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Lint
run: bun run lint
- name: Format
run: bun run format:check
- name: Typecheck
run: bun run typecheck
- name: Unit tests
run: bun test tests/unit/
publish:
name: publish
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
- name: Update npm to support trusted publishing
run: npm install -g npm@11
- uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}
- run: bun install --frozen-lockfile
- run: npm publish --access public