diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66e3b4b6fc5c..05d3bc1f30e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -202,19 +202,19 @@ jobs: # packages don't collect coverage on purpose, so forcing `--coverage=true` # would override the config - name: Run unit tests with coverage for ${{ matrix.package }} - if: env.PRIMARY_NODE_VERSION == matrix.node-version + if: env.PRIMARY_NODE_VERSION == matrix.node-version && matrix.os == 'ubuntu-latest' run: npx nx test ${{ matrix.package }} env: CI: true - name: Run unit tests for ${{ matrix.package }} - if: env.PRIMARY_NODE_VERSION != matrix.node-version + if: env.PRIMARY_NODE_VERSION != matrix.node-version || matrix.os != 'ubuntu-latest' run: npx nx test ${{ matrix.package }} --coverage=false env: CI: true - name: Store coverage for uploading - if: env.PRIMARY_NODE_VERSION == matrix.node-version - uses: actions/upload-artifact@v3 + if: env.PRIMARY_NODE_VERSION == matrix.node-version && matrix.os == 'ubuntu-latest' + uses: actions/upload-artifact@v4 with: name: ${{ matrix.package }}-coverage path: packages/${{ matrix.package }}/coverage/lcov.info
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: