mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 16:24:06 +00:00
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:
43
.github/workflows/test.yml
vendored
43
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user