🐛 update pake cli
This commit is contained in:
15
.github/workflows/pake-cli.yaml
vendored
15
.github/workflows/pake-cli.yaml
vendored
@@ -120,20 +120,11 @@ jobs:
|
||||
path: node_modules/pake-cli
|
||||
key: ${{ runner.os }}-pake-cli-${{ hashFiles('**/package.json') }}-${{ inputs.multi_arch }}
|
||||
|
||||
- name: Install pake-cli and script dependencies
|
||||
- name: Install pake-cli
|
||||
shell: bash
|
||||
run: |
|
||||
echo "Checking pake-cli installation..."
|
||||
if [ ! -d "node_modules/pake-cli" ]; then
|
||||
echo "Installing pake-cli..."
|
||||
npm install pake-cli --no-package-lock
|
||||
else
|
||||
echo "pake-cli found in cache"
|
||||
fi
|
||||
|
||||
# Always install script dependencies
|
||||
echo "Installing script dependencies..."
|
||||
npm install execa axios --no-package-lock
|
||||
echo "Installing pake-cli..."
|
||||
npm install pake-cli --no-package-lock
|
||||
|
||||
# Verify installation
|
||||
if [ ! -d "node_modules/pake-cli" ]; then
|
||||
|
||||
Reference in New Issue
Block a user