chore: reduce dependency resolutions #3484
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: Run Test Harness | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24-arm-16-core | |
| strategy: | |
| matrix: | |
| node-version: ['24.x'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libpixman-1-dev pkg-config | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'yarn' | |
| - name: Run Yarn | |
| run: yarn --immutable | |
| - name: Check affected projects | |
| run: | | |
| if yarn nx print-affected --base=origin/main --select=projects | grep -E '(^nodejs|[^-]nodejs)'; then | |
| echo "TRIGGER_NODEJS_TEST_HARNESS=true" >> $GITHUB_ENV | |
| fi | |
| - uses: DevCycleHQ/test-harness@main | |
| if: contains(env.TRIGGER_NODEJS_TEST_HARNESS, 'true') | |
| with: | |
| sdks-to-test: nodejs,of-nodejs | |
| sdk-github-sha: ${{github.event.pull_request.head.sha}} | |
| github-token: ${{ secrets.AUTOMATION_USER_TOKEN }} |