Upgrade array-changes to fix structural moves #402
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| 'on': | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Node ${{ matrix.node }} | |
| strategy: | |
| matrix: | |
| node: | |
| - '14' | |
| - '16' | |
| - '18' | |
| - '20' | |
| - '22' | |
| - '24' | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm install | |
| - run: make test | |
| test-targets: | |
| runs-on: ubuntu-latest | |
| name: ${{ matrix.targets.name }} | |
| strategy: | |
| matrix: | |
| targets: | |
| - name: 'Lint' | |
| target: 'lint' | |
| - target: 'coverage' | |
| name: 'Coverage' | |
| - target: 'test-jest' | |
| name: 'Jest' | |
| - target: 'test-jasmine' | |
| name: 'Jasmine' | |
| - target: 'test-plugins' | |
| name: 'Plugins' | |
| - target: 'test-deno' | |
| name: 'Deno' | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: '18.18.2' | |
| - run: npm install | |
| - run: make ${{ matrix.targets.target }} | |
| - name: Upload coverage | |
| uses: coverallsapp/github-action@master | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| if: ${{ matrix.targets.target == 'coverage' }} |