on: push jobs: test: name: test runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: node-version: [^10.18.0, ^12.14.0, ^13.5.0, ^14.0.0] os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: checkout uses: actions/checkout@v1 with: fetch-depth: 1 - name: node uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: install run: yarn - name: test run: yarn test - name: test-cjs run: yarn test-cjs