Globally enable TypeScript strict mode (#679)

- Enables TypeScript strict mode, repo-wide
- Prevents `tsc` from emitting files
- Removes `typescript-strict-plugin` package
- Removes redundant CI step
This commit is contained in:
filtered
2025-03-03 01:45:37 +11:00
committed by GitHub
parent a815ce92a8
commit 165cf210d3
5 changed files with 26 additions and 756 deletions

View File

@@ -5,35 +5,32 @@ on:
branches:
- main
- master
- 'dev*'
- "dev*"
pull_request:
branches:
- main
- master
- 'dev*'
- "dev*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Build
run: |
npm ci
npm run build
- name: Run lint
run: |
npm run lint:ci
- name: Run typecheck
run: |
npm run typecheck
- name: Run format
run: |
npm run format
- name: Run vitest tests
run: |
npm test -- --reporter=verbose
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Build
run: |
npm ci
npm run build
- name: Run lint
run: |
npm run lint:ci
- name: Run format
run: |
npm run format
- name: Run vitest tests
run: |
npm test -- --reporter=verbose