1
0
mirror of synced 2026-01-08 03:01:54 -05:00

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:
Peter Bengtsson
2021-10-18 15:58:56 -04:00
committed by GitHub
parent 2d85fc50c1
commit 9964a6619c
4 changed files with 4 additions and 8 deletions

View File

@@ -28,4 +28,4 @@ jobs:
run: npm ci
- name: Run linter
run: npx eslint .
run: npm run lint

View File

@@ -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 }}/

View File

@@ -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 }}/