Skip to content

chore: switch to tsdown #3

chore: switch to tsdown

chore: switch to tsdown #3

Workflow file for this run

name: ci
on:
push:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [22.x, 24.x]
os: [ubuntu-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
run_install: false
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: install
run: pnpm install
- name: format
run: pnpm format:check
- name: check types
run: pnpm typecheck
- name: build
run: pnpm build
- name: lint code
run: pnpm lint:js
# enable docs
#- name: lint docs
# run: pnpm lint:eslint-docs
- name: test
run: pnpm test:ci