fix: workflow ssh error
fix: workflow ssh error
This commit is contained in:
@@ -61,20 +61,12 @@ jobs:
|
|||||||
node_modules
|
node_modules
|
||||||
.yarn/cache
|
.yarn/cache
|
||||||
.yarn/install-state.gz
|
.yarn/install-state.gz
|
||||||
# Include git config in cache key to bust cache when git rules change
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
key: ${{ runner.os }}-yarn-https-v2-${{ hashFiles('**/yarn.lock') }}
|
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-https-v2-
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: yarn install --immutable
|
||||||
# Try install with immutable mode first
|
|
||||||
if ! yarn install --immutable; then
|
|
||||||
echo "⚠️ Immutable install failed. This might be due to SSH references in cache."
|
|
||||||
echo "Clearing node_modules and retrying without immutable mode..."
|
|
||||||
rm -rf node_modules
|
|
||||||
yarn install
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Update WhatsApp Web Version
|
- name: Update WhatsApp Web Version
|
||||||
id: update_version
|
id: update_version
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@
|
|||||||
"@hapi/boom": "^9.1.3",
|
"@hapi/boom": "^9.1.3",
|
||||||
"async-mutex": "^0.5.0",
|
"async-mutex": "^0.5.0",
|
||||||
"fflate": "^0.8.2",
|
"fflate": "^0.8.2",
|
||||||
"libsignal": "git+https://github.com/whiskeysockets/libsignal-node",
|
"libsignal": "github:whiskeysockets/libsignal-node",
|
||||||
"lru-cache": "^11.1.0",
|
"lru-cache": "^11.1.0",
|
||||||
"music-metadata": "^11.7.0",
|
"music-metadata": "^11.7.0",
|
||||||
"p-queue": "^9.0.0",
|
"p-queue": "^9.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user