chore: update tsconfig.json
by extending `@tsconfig/strictest/tscon…
#59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build 🛠️ | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
with: | |
node-version-file: ".nvmrc" | |
- name: Build | |
run: pnpm build | |
typecheck: | |
name: Type Check 🔎 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
with: | |
node-version-file: ".nvmrc" | |
- name: Type Check | |
run: pnpm typecheck | |
lint: | |
name: Lint 🔎 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
with: | |
node-version-file: ".nvmrc" | |
- name: Lint | |
run: pnpm lint | |
format-check: | |
name: Format Check 🔎 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
with: | |
node-version-file: ".nvmrc" | |
- name: Format Check | |
run: pnpm format-check | |
test: | |
name: Test 🧪 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node-version: [18.x, 20.x, 22.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.7 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Test | |
run: pnpm test | |
env: | |
FORCE_COLOR: 2 |