Bump docker/setup-buildx-action from 3.8.0 to 3.10.0 #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Nuxt Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 | |
- name: Build | |
uses: ./.github/actions/build | |
with: | |
packages-only: true | |
node-version: ${{ matrix.node-version }} | |
# Caching browser binaries is not recommended, since the amount of time it takes to restore the cache is comparable to the time it takes to download the binaries. | |
- name: Install Playwright browsers | |
run: npx playwright install | |
- name: Install Playwright dependencies | |
run: npx playwright install-deps | |
- name: Start nuxt server | |
run: pnpm --filter nuxt dev --host & | |
- name: Run e2e tests | |
run: CI=1 pnpm -r --parallel test:e2e:nuxt |