ci: pin runner to node:22 and drop apt-get bootstrap
Some checks are pending
Deploy Docs / deploy (push) Waiting to run

This commit is contained in:
Tolaria 2026-06-03 22:54:09 +08:00
parent 3aade4630b
commit a3ec22a70a

View file

@ -5,21 +5,18 @@ on:
- main - main
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: node:22
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- run: | - run: python3 --version
apt-get update && apt-get install -y python3 python3-pip python3-venv - run: pip3 install zensical
python3 -m venv /tmp/venv - run: pip3 install -e .
. /tmp/venv/bin/activate
python3 --version
pip3 install zensical
pip3 install -e .
- run: | - run: |
python3 -m venv /tmp/venv
. /tmp/venv/bin/activate . /tmp/venv/bin/activate
zensical build --clean zensical build --clean