From bcb92a14cea768af0c09ee50898743d770900e7a Mon Sep 17 00:00:00 2001 From: Lucas Oskorep Date: Mon, 26 Oct 2026 22:46:48 -0400 Subject: [PATCH] ci: run jobs in the mise container --- .gitea/workflows/build.yaml | 21 +++++++++------------ mise.toml | 1 + 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7152a8a..5ca3da8 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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 - run: | - export PATH="$HOME/.local/bin:$PATH" mise trust - mise install pnpm - mise reshim - echo "$HOME/.local/share/mise/shims" >> "$GITHUB_PATH" + mise install - name: Install just run: | @@ -60,12 +52,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: diff --git a/mise.toml b/mise.toml index a3a76a2..c284c6f 100644 --- a/mise.toml +++ b/mise.toml @@ -1,2 +1,3 @@ [tools] +node = "latest" pnpm = "latest"