Skip to content

Commit 2366693

Browse files
committed
fix: update workflow to remove node_modules and package-lock.json before installing dependencies
Signed-off-by: kaifcoder <kaifmohd2014@gmail.com>
1 parent a933c67 commit 2366693

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
uses: actions/setup-node@v4
3030
with:
3131
node-version: 22
32-
32+
- name: Remove node_modules and package-lock.json
33+
run: rm -rf node_modules package-lock.json
3334
- name: Install deps
34-
run: npm ci
35-
35+
run: npm i
3636
- name: Build VitePress site
3737
env:
3838
VITEPRESS_BASE: /create-polyglot/

0 commit comments

Comments
 (0)