Update devtools-reps to 0.27.7 #1071
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - production | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Run lint | |
| run: yarn lint | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Run tests | |
| # We use workerIdleMemoryLimit to work around a memory issue with node. | |
| # See https://github.com/facebook/jest/issues/11956 | |
| run: yarn test --coverage --logHeapUsage -w=4 --workerIdleMemoryLimit=1.5G | |
| - name: Upload coverage to Codecov | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| fail_ci_if_error: false | |
| cli-tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Run CLI tests | |
| run: yarn test-cli | |
| build-prod: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Build production | |
| run: yarn build-prod:quiet | |
| - name: Build node tools | |
| run: yarn build-node-tools | |
| - name: Upload node-tools-dist artifact | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: node-tools-dist | |
| path: node-tools-dist/ | |
| - name: Build profiler-cli | |
| run: yarn build-profiler-cli | |
| - name: Upload profiler-cli artifact | |
| if: matrix.os == 'ubuntu-latest' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: profiler-cli | |
| path: profiler-cli/dist/ | |
| licence-check: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Run license check | |
| run: yarn license-check | |
| typecheck: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Run TypeScript check | |
| run: yarn ts | |
| alex: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Run alex | |
| run: yarn test-alex | |
| yarn-lock: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js and install dependencies | |
| uses: ./.github/actions/setup-node-and-install | |
| - name: Check yarn.lock | |
| run: yarn test-lockfile | |
| shellcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master | |
| with: | |
| scandir: './bin' |