Skip to content

Commit

Permalink
fix test:compress error swallowing in node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiosantoscode committed May 16, 2023
1 parent 210203c commit 3171ea0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,33 @@ jobs:
- name: Install dependencies
shell: sh
run: |
npm ci --loglevel verbose
npm ci
- name: Build the app
shell: sh
run: |
npm run build --if-present --loglevel verbose
npm run build --if-present
- if: matrix.node-version != '10.x'
name: Run compress tests
shell: sh
run: |
npm run test:compress --loglevel verbose
npm run test:compress
- if: matrix.node-version != '10.x'
name: Run mocha tests
shell: sh
run: |
npm run test:mocha --loglevel verbose
npm run test:mocha
env:
TERSER_TEST_ALL: 1

- if: matrix.node-version == '10.x'
name: Run all tests with Node 10.x
shell: sh
run: |
node --require esm test/compress.js --loglevel verbose
npm run test:mocha -- --require esm --loglevel verbose
node --require esm test/compress.js
npm run test:mocha -- --require esm
- if: matrix.os == 'ubuntu-latest' && matrix.node-version == '12.x'
name: Run functional tests on ${{ matrix.os }} with Node 12.x
Expand Down

0 comments on commit 3171ea0

Please sign in to comment.