[v4] Improve CI by linting before installing playwright browsers (#13105)

* improve CI by linting before building and intalling playwright browsers

* move lint below build
This commit is contained in:
Robin Malfait 2024-03-06 16:57:13 +01:00 committed by GitHub
parent b3b2debdd9
commit 813aa45009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,7 @@ jobs:
- uses: pnpm/action-setup@v3
with:
version: ^8.15.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
@ -55,9 +56,6 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Build
run: pnpm run build
@ -67,6 +65,9 @@ jobs:
- name: Test
run: pnpm run test
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test:ui