File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- name : ' CI '
1+ name : " CI "
22
33on :
44 push :
1818 runs-on : ubuntu-latest
1919 strategy :
2020 matrix :
21- npmcmd : [' test' ]
21+ npmcmd : [" test" ]
2222 steps :
2323 - uses : actions/checkout@v4
2424 - name : Configure
2727 git config --global user.name uirouter_github_actions
2828 - name : Install Dependencies
2929 run : npm ci
30- - name : Install Playwright Browsers
31- run : npx playwright install chromium
3230 - name : Check Peer Dependencies
3331 run : npx check-peer-dependencies
3432 - name : Run Tests
Original file line number Diff line number Diff line change 88 "start" : " vite" ,
99 "build" : " vite build" ,
1010 "preview" : " vite preview" ,
11- "test" : " npm run build && playwright test" ,
12- "test:ui" : " npm run build && playwright test --ui" ,
11+ "test" : " npx playwright install chromium && npm run build && playwright test" ,
12+ "test:ui" : " npx playwright install chromium && npm run build && playwright test --ui" ,
1313 "test:report" : " playwright show-report" ,
1414 "gh-pages" : " npm run build && git add docs && git commit -m 'update github pages' docs && git push"
1515 },
You can’t perform that action at this time.
0 commit comments