build: manage pnpm with mise at latest
Replace the packageManager pin and .mise.toml (pnpm 12.3.4, node 26) with mise.toml tracking pnpm latest; CI installs pnpm through mise instead of an unpinned npm -g, keeping node from the runner image.
This commit is contained in:
4 files changed
+14
-5
No files matched your search
@@ -18,8 +18,19 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install mise
|
||||
run: |
|
||||
curl -fsSL https://mise.run | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Install pnpm and TypeScript
|
||||
run: npm install -g pnpm typescript@5.8.3
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
mise trust
|
||||
mise install pnpm
|
||||
mise reshim
|
||||
echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH"
|
||||
npm install -g typescript@5.8.3
|
||||
|
||||
- name: Install just
|
||||
run: |
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
[tools]
|
||||
node = "26"
|
||||
pnpm = "12.3.4"
|
||||
@@ -2,7 +2,6 @@
|
||||
"name": "aerospike",
|
||||
"version": "0.2.5",
|
||||
"description": "Simple, Opinionated Tiling Window Manager for Gnome written in Typescript",
|
||||
"packageManager": "pnpm@12.3.4",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"repository": {
|
||||
|
||||
Reference in new issue
Block a user