diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a81c8aa..84a5979 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,14 +21,12 @@ jobs: - name: Clear npm cache run: npm cache clean --force + - name: Clean and install dependencies + run: rm -rf node_modules package-lock.json + - name: Install dependencies run: npm install - - name: Clean and install dependencies - run: | - rm -rf node_modules package-lock.json - npm install --legacy-peer-deps # Clean install dependencies - - name: Build project run: npm run build