🐛 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
|
path: node_modules/pake-cli
|
||||||
key: ${{ runner.os }}-pake-cli-${{ hashFiles('**/package.json') }}-${{ inputs.multi_arch }}
|
key: ${{ runner.os }}-pake-cli-${{ hashFiles('**/package.json') }}-${{ inputs.multi_arch }}
|
||||||
|
|
||||||
- name: Install pake-cli and script dependencies
|
- name: Install pake-cli
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "Checking pake-cli installation..."
|
echo "Installing pake-cli..."
|
||||||
if [ ! -d "node_modules/pake-cli" ]; then
|
npm install pake-cli --no-package-lock
|
||||||
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
|
|
||||||
|
|
||||||
# Verify installation
|
# Verify installation
|
||||||
if [ ! -d "node_modules/pake-cli" ]; then
|
if [ ! -d "node_modules/pake-cli" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user