build(deps-dev): bump globals from 16.5.0 to 17.4.0 #5655
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: Unit Tests | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| push: | |
| branches: [ "main" ] | |
| merge_group: | |
| # this prevents multiple jobs from the same pr | |
| # running when new changes are pushed. | |
| concurrency: | |
| group: ${{github.workflow}}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration-tests: | |
| name: Service Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js with cached dependencies | |
| uses: ./.github/actions/setup-node-cached | |
| - name: Run integration tests | |
| run: npm run test:coverage | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage/junit.xml | |
| verbose: true | |
| cockpit-integration-tests: | |
| name: Cockpit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js with cached dependencies | |
| uses: ./.github/actions/setup-node-cached | |
| - name: Run integration tests with cockpit | |
| run: npm run test:cockpit | |
| unit-tests: | |
| name: Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js with cached dependencies | |
| uses: ./.github/actions/setup-node-cached | |
| - name: Run unit tests | |
| run: npm run test:unit |