Skip to content

Commit 8c5f9bf

Browse files
author
jarvis
committed
Updates
1 parent caa5bb1 commit 8c5f9bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/astro.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ jobs:
6666
- name: Install dependencies
6767
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
6868
working-directory: ${{ env.BUILD_PATH }}
69+
- name: Remove node_modules and package-lock.json
70+
run: rm -rf node_modules package-lock.json
6971
- name: Build with Astro
7072
run: |
71-
rm -rf ${{ steps.detect-package-manager.outputs.lockfile }} node_modules/ && \
7273
${{ steps.detect-package-manager.outputs.runner }} astro build \
7374
--site "${{ steps.pages.outputs.origin }}" \
7475
--base "${{ steps.pages.outputs.base_path }}"

0 commit comments

Comments
 (0)