ci: run jobs in the mise container
Build and Test / build (push) Failing after 9s
Build and Test / release (push) Skipped

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:
Lucas Oskorep committed 2026-10-26 22:46:45 -04:00
1 parent b0028c1f1b
commit f166dea98f
2 files changed
+10 -12

No files matched your search

+9 -12
View File
@@ -12,24 +12,16 @@ jobs:
build: build:
runs-on: archlinux runs-on: archlinux
container: container:
image: node:25 image: ghcr.io/jdx/mise:2026.10.19-debian
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Install mise - name: Install tools
run: | 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 trust
mise install pnpm mise install
mise reshim
echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH"
npm install -g typescript@5.8.3 npm install -g typescript@5.8.3
- name: Install just - name: Install just
@@ -64,12 +56,17 @@ jobs:
environment: environment:
name: production name: production
container: container:
image: node:25 image: ghcr.io/jdx/mise:2026.10.19-debian
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Install tools
run: |
mise trust
mise install
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
+1
View File
@@ -1,2 +1,3 @@
[tools] [tools]
node = "latest"
pnpm = "latest" pnpm = "latest"