You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> On local Windows shells, make sure `ELECTRON_RUN_AS_NODE` is not set before launching Cypress.
165
+
163
166
## PWA Support
164
167
165
168
FocusFlow is configured as an Angular PWA for production builds.
@@ -201,13 +204,26 @@ Deployment profile:
201
204
Recommended release checks:
202
205
203
206
```bash
204
-
npm ci
205
-
npm run build
206
-
npm test -- --watch=false
207
+
pnpm install --frozen-lockfile
208
+
pnpm run build
209
+
pnpm test --watch=false
210
+
pnpm run e2e
207
211
```
208
212
209
213
For PWA behavior, validate installability and offline reload from a production build over HTTPS or localhost.
210
214
215
+
## CI/CD
216
+
217
+
GitHub Actions uses Node 22 and pnpm 11. The main CI workflow installs dependencies with `pnpm install --frozen-lockfile`, runs unit tests with `pnpm test --watch=false`, and builds the production app with `pnpm run build`.
218
+
219
+
The GitHub Pages deployment workflow also uses pnpm and builds with the repository base href:
220
+
221
+
```bash
222
+
pnpm run build --configuration production --base-href /FocusFlow/
223
+
```
224
+
225
+
The Cypress E2E workflow starts the Angular dev server with pnpm and runs the Cypress suite against `http://127.0.0.1:4200`.
226
+
211
227
## Future Improvements
212
228
213
229
The current app is complete as a local-first PWA. Realistic future additions could include:
@@ -255,3 +271,14 @@ FocusFlow running from the public production deployment.
255
271
Installed Android PWA experience.
256
272
257
273

0 commit comments