Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/rolldown-plugin-dts. A Rolldown plugin to generate and bundle dts files.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566name: Unit Test
on: push: branches: [main, debug] pull_request: branches: [main]
jobs: lint: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4
- name: Install pnpm uses: pnpm/action-setup@v4.1.0
- name: Set node LTS uses: actions/setup-node@v4 with: node-version: lts/* cache: pnpm
- name: Install run: pnpm install
- name: Lint run: pnpm run lint
- name: Typecheck run: pnpm run typecheck
test: runs-on: ${{ matrix.os }}
strategy: matrix: os: [ubuntu-latest, windows-latest] node: [20, 22] fail-fast: false
steps: - name: Checkout uses: actions/checkout@v4
- name: Install pnpm uses: pnpm/action-setup@v4.1.0
- name: Set node ${{ matrix.node }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: pnpm
- name: Install run: pnpm install
- name: Build run: pnpm run build
- name: Test run: pnpm run test tests/index.test.ts # env: # RD_LOG: debug