Skip to content

Commit a4b641a

Browse files
committed
ci: change order of steps for better efficiency
1 parent 3c73d49 commit a4b641a

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/bun.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
bun install --frozen-lockfile --strict-peer-dependencies
4747
bun install ${{ matrix.vite-version }}
4848
49-
- name: Install Playwright browsers
50-
run: bunx playwright install --with-deps
51-
5249
- name: Lint Source
5350
run: bun run --if-present lint
5451

5552
- name: Build Source
5653
run: bun run --if-present build
5754

55+
- name: Install Playwright browsers
56+
run: bunx playwright install --with-deps
57+
5858
- name: Run Tests
5959
run: bun run --if-present test

.github/workflows/deno.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ jobs:
5151
--no-lock \
5252
--node-modules-dir=auto
5353
54-
# - name: Install Playwright browsers
55-
# run: deno run --allow-all npm:playwright install --with-deps
56-
5754
- name: Lint Source
5855
run: deno lint --ignore=node_modules **/*.ts
5956

57+
# - name: Install Playwright browsers
58+
# run: deno run --allow-all npm:playwright install --with-deps
59+
6060
- name: Run Tests
6161
run: |
6262
deno run --allow-all npm:vitest run --exclude e2e

.github/workflows/node.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ jobs:
6060
pnpm install --frozen-lockfile --strict-peer-dependencies
6161
pnpm install ${{ matrix.vite-version }}
6262
63-
- name: Install Playwright browsers
64-
run: pnpm exec playwright install --with-deps
65-
6663
- name: Lint Source
6764
run: pnpm run --if-present lint
6865

6966
- name: Build Source
7067
run: pnpm run --if-present build
7168

69+
- name: Install Playwright browsers
70+
run: pnpm exec playwright install --with-deps
71+
7272
- name: Run Tests
7373
run: pnpm run --if-present test

0 commit comments

Comments
 (0)