[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:
parent
b3b2debdd9
commit
813aa45009
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue