docs(changeset): feat: normalize schemas with unnecessary nesting or … #2
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: | |
push: | |
paths: | |
- 'packages/**' | |
- '.github/workflows/test-nuxt-integration.yml' | |
- 'playwright/tests/**' | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm --filter nuxt install | |
- name: Turborepo cache | |
uses: dtinth/setup-github-actions-caching-for-turbo@v1 | |
- name: Start nuxt server | |
run: pnpm --filter nuxt dev --host & | |
- name: Get installed Playwright version | |
id: playwright-version | |
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package.json').devDependencies['@playwright/test'])")" >> $GITHUB_ENV | |
- name: Cache playwright binaries | |
uses: actions/cache@v4 | |
id: playwright-cache | |
with: | |
path: '~/.cache/ms-playwright' | |
key: '${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}' | |
restore-keys: ${{ runner.os }}-playwright- | |
- name: Install Playwright browser binaries & OS dependencies | |
run: pnpm exec playwright install --with-deps | |
- name: Run e2e tests | |
run: CI=1 pnpm -r --parallel test:e2e:nuxt |