diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c517c9c..f41a7d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,9 +47,14 @@ jobs: - name: Run linter run: npm run lint - - name: Run test with coverage + - name: Run test with coverage for Node.js < 20 + if: ${{ matrix.node-version < 20 }} run: npm run coverage + - name: Run test with coverage for Node.js >= 20 + if: ${{ matrix.node-version >= 20 }} + run: node --security-revert=CVE-2023-46809 ./node_modules/.bin/nyc npm run test + - name: Coveralls uses: coverallsapp/github-action@master with: