Skip to content

Commit 324fc93

Browse files
fix: resync lockfile in CI after excluding web and docs workspaces
Co-Authored-By: Tempest <tempestai.dev@gmail.com> Co-authored-by: Tempest <tempestai.dev@gmail.com>
1 parent 7714dc1 commit 324fc93

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
cache: npm
2020

2121
- name: Remove non-app workspaces
22-
run: rm -rf web docs
22+
run: |
23+
node -e "const fs=require('fs'),p=JSON.parse(fs.readFileSync('package.json','utf8'));p.workspaces=p.workspaces.filter(w=>w!=='web'&&w!=='docs');fs.writeFileSync('package.json',JSON.stringify(p,null,2))"
24+
rm -rf web docs
25+
npm install --package-lock-only --ignore-scripts
2326
2427
- name: Install dependencies
2528
run: npm ci

0 commit comments

Comments
 (0)