diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d66ca0..e98178a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,10 +87,13 @@ jobs: key: ${{ hashFiles('**/package-lock.json') }} - name: coverage - env: - DISPLAY: ':99.0' + if: github.ref == 'refs/heads/main' run: npm run coveralls + - name: coverage (no coveralls) + if: github.ref != 'refs/heads/main' + run: npm run coverage + #- name: memory leak detection # run: npm run test -- --detectLeaks