File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,16 @@ name: CI
2
2
3
3
on :
4
4
push :
5
- branches : [ " main" ]
5
+ branches : [' main' ]
6
6
pull_request :
7
- branches : [ " main" ]
7
+ branches : [' main' ]
8
8
9
9
env :
10
10
# we call `pnpm playwright install` instead
11
11
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : ' 1'
12
12
13
13
jobs :
14
14
build :
15
-
16
15
runs-on : ubuntu-latest
17
16
18
17
strategy :
@@ -21,13 +20,14 @@ jobs:
21
20
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
22
21
23
22
steps :
24
- - uses : actions/checkout@v3
25
-
26
- - name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v3
28
- with :
29
- node-version : ${{ matrix.node-version }}
30
- cache : ' pnpm'
31
- - run : pnpm install --frozen-lockfile
32
- - run : pnpm playwright install chromium
33
- - run : pnpm test
23
+ - uses : actions/checkout@v3
24
+
25
+ - name : Use Node.js ${{ matrix.node-version }}
26
+ uses : actions/setup-node@v3
27
+ with :
28
+ node-version : ${{ matrix.node-version }}
29
+ cache : ' pnpm'
30
+ - run : pnpm install --frozen-lockfile
31
+ - run : pnpm playwright install chromium
32
+ - run : pnpm build
33
+ - run : pnpm test
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type { PlaywrightTestConfig } from '@playwright/test';
2
2
3
3
const config : PlaywrightTestConfig = {
4
4
webServer : {
5
- command : 'pnpm build && pnpm preview' ,
5
+ command : 'pnpm preview' ,
6
6
port : 4173
7
7
}
8
8
} ;
You can’t perform that action at this time.
0 commit comments