mirror of
https://github.com/block-core/angor-hub-old.git
synced 2025-12-17 01:44:19 +01:00
Refactor CI workflows to remove package-lock.json cleanup and simplify dependency installation
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user