mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 14:17:07 +00:00
ci: fix - switch from npx to pnpx
This commit is contained in:
1 parent
ae338f0ba0
commit
dd8be97667
8 files changed
+56
-8
No files matched your search
+7
-1
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/academic-cv/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/data-science-blog/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
+7
-1
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/dev-portfolio/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
+7
-1
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/documentation/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
+7
-1
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/link-in-bio/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
+7
-1
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/markdown-slides/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
+7
-1
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/resume/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
@@ -35,6 +35,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
package_json_path: templates/startup-landing-page/package.json
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
@@ -58,7 +64,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running upgrade with flags: $FLAGS"
|
echo "Running upgrade with flags: $FLAGS"
|
||||||
npx --yes hugoblox@latest upgrade $FLAGS
|
pnpm dlx hugoblox@latest upgrade $FLAGS
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
|
|||||||
Reference in new issue
Block a user