File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ jobs:
1414 with :
1515 node-version : lts/*
1616 - name : Install dependencies
17- run : npm ci
17+ run : yarn install
1818 - name : Install Playwright Browsers
1919 run : npx playwright install --with-deps
2020 - name : Install serve
21- run : npm install -g serve
21+ run : yarn global add serve
2222 - name : Build application
23- run : npm run build
23+ run : yarn build
2424 - name : Start static file server
2525 run : serve out & npx wait-on http://localhost:3000
2626 - name : Run Playwright tests
Original file line number Diff line number Diff line change 66jobs :
77 test :
88 runs-on : ubuntu-latest
9-
109 steps :
1110 - name : Checkout code
1211 uses : actions/checkout@v4
13-
1412 - name : Setup Node.js
1513 uses : actions/setup-node@v4
1614 with :
17- node-version : ' 20'
18- cache : ' npm'
19-
15+ node-version : ' 22'
16+ cache : ' yarn'
2017 - name : Install dependencies
21- run : npm ci
22-
18+ run : yarn install
2319 - name : Run linting
24- run : npm run lint
25-
20+ run : yarn lint
2621 - name : Build
27- run : npm run build
22+ run : yarn build
You can’t perform that action at this time.
0 commit comments