mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
[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
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…
x
Reference in New Issue
Block a user