build(deps-dev): Bump @commitlint/config-conventional from 20.0.0 to 20.2.0 #1102
Workflow file for this run
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: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Unit and Integration | |
| strategy: | |
| matrix: | |
| version: [20, 22] | |
| os: [ubuntu-24.04, windows-2025, macos-15] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.version }} | |
| - name: Install dependencies | |
| run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo | |
| - name: Run unit tests | |
| run: npm run test:unit:coverage | |
| - name: Run integration tests | |
| run: npm run test:integration | |
| # Test matrix for older @ui5/cli versions to ensure compatibility | |
| test-ui5cli-matrix: | |
| name: Integration tests with @ui5/cli ${{matrix.ui5-cli}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ui5-cli: [ | |
| "latest-3" | |
| ] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js LTS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Install dependencies | |
| run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo | |
| - name: Install @ui5/cli ${{matrix.ui5-cli}} | |
| run: npm i -D @ui5/cli@${{matrix.ui5-cli}} | |
| - name: Run integration tests | |
| run: npm run test:integration |