Skip to content

Commit ec6c9e4

Browse files
author
Mohamad Yusup S.Tr.Stat
committed
fix: resolve Rollup platform dependency issues in CI
- Use npm install instead of npm ci to handle platform-specific dependencies - Remove node_modules and package-lock.json in CI to ensure clean install - Fix Rollup Linux binary missing issue in GitHub Actions - Apply fix to both documentation and release workflows
1 parent 5ff9b62 commit ec6c9e4

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ jobs:
4040
node-version: '20'
4141

4242
- name: Install dependencies
43-
run: npm ci
43+
run: |
44+
rm -rf node_modules package-lock.json
45+
npm install
4446
45-
- name: Build TypeScript
47+
- name: Build project
4648
run: npm run build
4749

4850
- name: Generate Documentation

.github/workflows/release-please.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
registry-url: 'https://registry.npmjs.org'
4444

4545
- name: Install dependencies
46-
run: npm ci
46+
run: |
47+
rm -rf node_modules package-lock.json
48+
npm install
4749
4850
- name: Build project
4951
run: npm run build

0 commit comments

Comments
 (0)