File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -57,25 +57,27 @@ jobs:
5757 desktop :
5858 name : Desktop (Tauri + React)
5959 runs-on : ubuntu-latest
60- defaults :
61- run :
62- working-directory : desktop
6360 steps :
6461 - uses : actions/checkout@v4
6562 - name : Use Node.js
6663 uses : actions/setup-node@v4
6764 with :
6865 node-version : ' 20'
69- cache : ' npm'
70- cache-dependency-path : desktop/package-lock.json
66+ cache : ' pnpm'
67+ cache-dependency-path : pnpm-lock.yaml
68+ - name : Install pnpm
69+ uses : pnpm/action-setup@v4
70+ with :
71+ version : 10
72+ run_install : false
7173 - name : Install deps
72- run : npm ci
74+ run : pnpm install --frozen-lockfile
7375 - name : Lint
74- run : npm run lint
76+ run : pnpm --filter persona-desktop run lint
7577 - name : Tests
76- run : npm test -- --ci --reporters=default --reporters=jest-junit
78+ run : pnpm --filter persona-desktop run test -- --ci --reporters=default --reporters=jest-junit
7779 - name : Security Audit
78- run : npm audit --audit-level=moderate
80+ run : pnpm --filter persona-desktop audit --audit-level=moderate
7981 continue-on-error : true # Don't fail CI on moderate vulnerabilities
8082
8183 web :
You can’t perform that action at this time.
0 commit comments