Skip to content
Closed
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
5 changes: 4 additions & 1 deletion .github/actions/setup-node-pnpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ runs:
key: |
${{ runner.os }}-pnpm-store-

- run: pnpm install --frozen-lockfile --ignore-scripts
- name: Install dependencies and check for duplicates
run: |
pnpm install --frozen-lockfile --ignore-scripts
pnpm dedupe --check
shell: bash
env:
GITHUB_TOKEN: ${{ github.token }}
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# FIXME: vite+ only support chromium headless shell on macos
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -31,7 +33,11 @@ jobs:
- name: Install Playwright browsers
run: pnpx playwright install chromium

- run: pnpm ready
- name: Run ready script twice
run: |
pnpm ready
# should hit cache here
pnpm ready

- name: Check build artifacts
run: |
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@vitest/browser": "^3.2.4",
"@vitest/ui": "^3.2.4",
"happy-dom": "^18.0.1",
"playwright": "^1.55.0",
"playwright": "^1.55.1",
"rolldown-vite": "^7.1.10",
"tailwindcss": "^4.1.13",
"typescript": "catalog:"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "A frontend dashboard for displaying different metrics using bar charts",
"private": true,
"packageManager": "pnpm@10.16.1",
"packageManager": "pnpm@10.17.1",
"type": "module",
"scripts": {
"ready": "vite run lint && vite test && vite run build",
Expand All @@ -23,7 +23,7 @@
},
"pnpm": {
"overrides": {
"vite": "npm:rolldown-vite@7.1.10"
"vite": "npm:rolldown-vite@^7.1.12"
},
"onlyBuiltDependencies": [
"@tailwindcss/oxide",
Expand Down
Loading