Skip to content

Commit 0212f12

Browse files
Update buildAngular.yml
1 parent d7573ff commit 0212f12

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/buildAngular.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,16 @@ jobs:
2222
run: npm install --legacy-peer-deps
2323

2424
- name: Build Angular App
25-
run: npm run build
25+
run: npm run build --if-present
2626

2727
- name: Upload Build Artifacts
2828
uses: actions/upload-artifact@v3
2929
with:
3030
name: dist
3131
path: dist
32+
33+
- name: Clean up Cache
34+
run: npm cache clean --force
35+
36+
- name: List Files in dist
37+
run: ls -la dist # Verify the contents of the dist directory

0 commit comments

Comments
 (0)