separate 'npm test' from 'npm lint' (#22191)
* separate 'npm test' from 'npm lint' * remove delberately eslint violation (but keep prettier violation) * undo prettier violation * tighten up us of our scripts for testing and lint
This commit is contained in:
2
.github/workflows/js-lint.yml
vendored
2
.github/workflows/js-lint.yml
vendored
@@ -28,4 +28,4 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Run linter
|
||||
run: npx eslint .
|
||||
run: npm run lint
|
||||
|
||||
4
.github/workflows/test-windows.yml
vendored
4
.github/workflows/test-windows.yml
vendored
@@ -52,6 +52,4 @@ jobs:
|
||||
run: npm run build
|
||||
|
||||
- name: Run tests
|
||||
run: npx jest tests/${{ matrix.test-group }}/
|
||||
env:
|
||||
NODE_OPTIONS: '--max_old_space_size=8192'
|
||||
run: npm run test tests/${{ matrix.test-group }}/
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -57,6 +57,4 @@ jobs:
|
||||
run: npm run build
|
||||
|
||||
- name: Run tests
|
||||
run: npx jest tests/${{ matrix.test-group }}/
|
||||
env:
|
||||
NODE_OPTIONS: '--max_old_space_size=8192 --experimental-vm-modules'
|
||||
run: npm run test tests/${{ matrix.test-group }}/
|
||||
|
||||
Reference in New Issue
Block a user