diff --git a/.github/workflows/tmp-fix-integration-test.yml b/.github/workflows/tmp-fix-integration-test.yml index 39cee3bd..9687f5dd 100644 --- a/.github/workflows/tmp-fix-integration-test.yml +++ b/.github/workflows/tmp-fix-integration-test.yml @@ -17,11 +17,11 @@ jobs: id: files-cache with: path: | - node_modules dist - ~/.npm + node_modules + /tmp/.__tmp_int ~/.meteor - /tmp/tests/.__tmp_int + ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - name: Install/Retrieve Meteor if: steps.files-cache.outputs.cache-hit != 'true' @@ -46,11 +46,14 @@ jobs: id: files-cache with: path: | - node_modules dist - ~/.npm + node_modules + /tmp/.__tmp_int ~/.meteor - /tmp/tests/.__tmp_int + ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - run: ~/.meteor/meteor npm run prepare-integration-tests - - run: ~/.meteor/meteor npm run test-integration + - name: Run integration tests using Xvfb + uses: coactions/setup-xvfb@v1 + with: + run: ~/.meteor/meteor npm run test-integration