Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'CI'
name: "CI"

on:
push:
Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
npmcmd: ['test']
npmcmd: ["test"]
steps:
- uses: actions/checkout@v4
- name: Configure
Expand All @@ -27,8 +27,6 @@ jobs:
git config --global user.name uirouter_github_actions
- name: Install Dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install chromium
- name: Check Peer Dependencies
run: npx check-peer-dependencies
- name: Run Tests
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"start": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "npm run build && playwright test",
"test:ui": "npm run build && playwright test --ui",
"test": "npx playwright install chromium && npm run build && playwright test",
"test:ui": "npx playwright install chromium && npm run build && playwright test --ui",
"test:report": "playwright show-report",
"gh-pages": "npm run build && git add docs && git commit -m 'update github pages' docs && git push"
},
Expand Down