ci: run jobs in the mise container
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
|
||||
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:
|
||||
|
||||
Reference in new issue
Block a user