diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 80eafac28..165c7139b 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -18,13 +18,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Cache Puppeteer - uses: actions/cache@v3 - with: - # https://pptr.dev/guides/configuration/#changing-the-default-cache-directory - path: ~/.cache/puppeteer - key: ${{ runner.os }}-pptr-${{ hashFiles('packages/integration-tests/package.json') }} - - name: Setup Node and pnpm uses: silverhand-io/actions-node-pnpm-run-steps@v2 @@ -45,23 +38,15 @@ jobs: strategy: matrix: - os: [ubuntu-latest] node_version: [16, 18] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: path: tests - - name: Cache Puppeteer - uses: actions/cache@v3 - with: - # https://pptr.dev/guides/configuration/#changing-the-default-cache-directory - path: ~/.cache/puppeteer - key: ${{ runner.os }}-pptr-${{ hashFiles('tests/packages/integration-tests/package.json') }} - - name: Copy lockfile run: | cp tests/pnpm-lock.yaml ./ @@ -79,6 +64,9 @@ jobs: cd tests pnpm i pnpm prepack + # Install Chromium + cd packages/integration-tests/node_modules/puppeteer + pnpm postinstall # Setup environment - name: Setup Postgres