Skip to content

Commit 6c72e5c

Browse files
committed
fix(monorepo/ci): add filen-mobile to workspaces and fix install flag
Add packages/filen-mobile to the root workspaces array so all four packages are consistently managed by the workspace. Since filen-mobile is now a workspace member, its per-package install commands in CI also need --no-workspaces to ensure npm install --package-lock-only updates the local package-lock.json rather than deferring to the workspace root. Updated tests.yml, lint.yml, and typecheck.yml accordingly.
1 parent 40c8803 commit 6c72e5c

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: npm install -g patch-package
7676
- name: Install dependencies
7777
working-directory: packages/filen-mobile
78-
run: npm install --package-lock-only && npm ci
78+
run: npm install --package-lock-only --no-workspaces && npm ci
7979
- name: Lint
8080
working-directory: packages/filen-mobile
8181
run: npm run lint

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
run: npm install -g patch-package
7171
- name: Install dependencies
7272
working-directory: packages/filen-mobile
73-
run: npm install --package-lock-only && npm ci
73+
run: npm install --package-lock-only --no-workspaces && npm ci
7474
- name: Test
7575
working-directory: packages/filen-mobile
7676
run: npm test

.github/workflows/typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
run: npm install -g patch-package
7676
- name: Install dependencies
7777
working-directory: packages/filen-mobile
78-
run: npm install --package-lock-only && npm ci
78+
run: npm install --package-lock-only --no-workspaces && npm ci
7979
- name: Typecheck
8080
working-directory: packages/filen-mobile
8181
run: npm run typecheck

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"workspaces": [
55
"packages/filen-web",
66
"packages/filen-desktop",
7-
"packages/filen-utils"
7+
"packages/filen-utils",
8+
"packages/filen-mobile"
89
],
910
"scripts": {
1011
"dev:web": "npm run dev --workspace=packages/filen-web",

0 commit comments

Comments
 (0)