diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 9f52296f5848..e86dc2ae4a53 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -209,7 +209,7 @@ jobs: timeout_minutes: 10 max_attempts: 3 retry_on: error - command: yarn jest-coverage --color --config jest.config.ci.mjs --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ matrix.shard }} + command: set NODE_OPTIONS=--disable-warning=ExperimentalWarning && yarn jest-coverage --color --config jest.config.ci.mjs --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ matrix.shard }} - name: map coverage run: node ./scripts/mapCoverage.mjs if: always() diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 357b339db68e..cfed4f907977 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: timeout_minutes: 10 max_attempts: 3 retry_on: error - command: yarn test-ci-partial:parallel --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ inputs.shard }} + command: set NODE_OPTIONS=--disable-warning=ExperimentalWarning && yarn test-ci-partial:parallel --max-workers ${{ steps.cpu-cores.outputs.count }} --shard=${{ inputs.shard }} test-jasmine: name: Node LTS using jest-jasmine2