Skip to content

Commit

Permalink
Update CI workflow to remove package-lock.json cleanup and use npm in…
Browse files Browse the repository at this point in the history
…stall with force
  • Loading branch information
miladsoft committed Dec 13, 2024
1 parent 853714f commit 8050373
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ jobs:
node-version: 20
cache: 'npm'

# Step 3: Remove node_modules and package-lock.json
# Step 3: Remove node_modules
- name: Clean up
run: |
rm -rf node_modules
rm -f package-lock.json
run: rm -rf node_modules

# Step 4: Install dependencies
- name: Install Dependencies
run: npm ci
run: npm install --force

# Step 5: Determine version
- name: Set Version Variable
Expand Down

0 comments on commit 8050373

Please sign in to comment.