From 360e3f850026d31d37fc0dbd734bc9cd7b753da8 Mon Sep 17 00:00:00 2001 From: JohnAlbin Date: Wed, 17 Apr 2024 15:03:20 +0800 Subject: [PATCH] ci(next-drupal): work-around for flakey code coverage reporting Issue #740 --- .github/workflows/next-drupal.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/next-drupal.yml b/.github/workflows/next-drupal.yml index c937f5316..1d0ff2ece 100644 --- a/.github/workflows/next-drupal.yml +++ b/.github/workflows/next-drupal.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - 740-fix-code-coverage pull_request_target: types: [opened, reopened, synchronize] @@ -14,6 +15,12 @@ jobs: with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} + # TODO: Work-around for failing code coverage. + # https://github.com/chapter-three/next-drupal/issues/740 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: '18.x' - name: Install packages run: yarn - name: Run tests