Skip to content

fix: ci error

fix: ci error #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22.12.0']
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint:check
- name: Run tests
run: npm test
- name: Build
run: npm run clean && tsdown && node docs/scripts/post-build.js
- name: Check package can be installed
run: npm pack --dry-run