Skip to content

feat: auto-detect jsconfig at root (#46) #97

feat: auto-detect jsconfig at root (#46)

feat: auto-detect jsconfig at root (#46) #97

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [18.x, 'lts/*']
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- name: Use Node.js v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Setup ni
run: npm i -g @antfu/ni
- name: Install dependencies
run: nci
- name: Type Check
run: nr typecheck
- name: Test
run: nr test