diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f1bc8df..6689a35 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v6 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: run_install: false @@ -37,5 +37,8 @@ jobs: - name: Lint run: pnpm lint:check + - name: Install Playwright browser + run: pnpm exec playwright install --with-deps chromium + - name: Test run: pnpm test \ No newline at end of file diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a677cf1..54f368f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,7 +18,7 @@ jobs: fetch-depth: 0 - name: Install pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v6 with: run_install: false @@ -31,6 +31,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Install Playwright browser + run: pnpm exec playwright install --with-deps chromium + - name: Build & Test run: pnpm build && pnpm test