Skip to content

Commit 7a81e40

Browse files
committed
Fix workflow - don't delete package-lock.json
1 parent 42a688f commit 7a81e40

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,11 @@ jobs:
3232

3333
- name: Install dependencies
3434
working-directory: ./docs/documentation
35-
run: npm ci --prefer-offline --no-audit
36-
37-
- name: Clean build
38-
working-directory: ./docs/documentation
39-
run: rm -rf node_modules .next out
35+
run: npm install
4036

41-
- name: Install dependencies again
37+
- name: Clean build artifacts
4238
working-directory: ./docs/documentation
43-
run: npm install
39+
run: rm -rf .next out
4440

4541
- name: Build documentation
4642
working-directory: ./docs/documentation

0 commit comments

Comments
 (0)