ci: run jobs in the mise container
node and pnpm now come from mise.toml inside ghcr.io/jdx/mise instead of the node:25 image plus a mise bootstrap step.
This commit is contained in:
2 files changed
+10
-12
No files matched your search
@@ -12,24 +12,16 @@ jobs:
|
||||
build:
|
||||
runs-on: archlinux
|
||||
container:
|
||||
image: node:25
|
||||
image: ghcr.io/jdx/mise:2026.10.19-debian
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install mise
|
||||
- name: Install tools
|
||||
run: |
|
||||
curl -fsSL https://mise.run | sh
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Install pnpm and TypeScript
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
mise trust
|
||||
mise install pnpm
|
||||
mise reshim
|
||||
echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH"
|
||||
mise install
|
||||
npm install -g typescript@5.8.3
|
||||
|
||||
- name: Install just
|
||||
@@ -64,12 +56,17 @@ jobs:
|
||||
environment:
|
||||
name: production
|
||||
container:
|
||||
image: node:25
|
||||
image: ghcr.io/jdx/mise:2026.10.19-debian
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
mise trust
|
||||
mise install
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user