diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8bb515..7412123 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: latest-node-version: [20.x] - node-version: [18.x, 20.x] + node-version: [6.x, 8.x, 10.x, 12.x, 14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v1 @@ -21,14 +21,11 @@ jobs: run: | npm install npm run build - npm run test:coverage + npm run test:only - name: Switch to Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: Test legacy node run: | - npm install mocha@6.2.3 - npm run test:only - env: - CI: true + node dist/gen-mapping.umd.js