diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b87b0c7e..48a4d6cb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: rm -f package-lock.json - name: Install dependencies - run: npm install --force + run: npm install - name: Run deploy script run: npm run deploy diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4ba8745..e492b22d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,13 +32,15 @@ jobs: node-version: 20 cache: 'npm' - # Step 3: Remove node_modules + # Step 3: Remove node_modules and package-lock.json - name: Clean up - run: rm -rf node_modules + run: | + rm -rf node_modules + rm -f package-lock.json # Step 4: Install dependencies - name: Install Dependencies - run: npm install --force + run: npm install # Step 5: Determine version - name: Set Version Variable