From 4c8eed0bfef68c4818d8f416347f80054ff63304 Mon Sep 17 00:00:00 2001 From: Aiden <68633820+awils27@users.noreply.github.com> Date: Thu, 11 Jun 2026 16:10:03 +1000 Subject: [PATCH] workflow changes --- .gitea/workflows/publish-pages.yml | 5 +++-- .gitea/workflows/test.yml | 8 ++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/publish-pages.yml b/.gitea/workflows/publish-pages.yml index 69ec4c6..01eff61 100644 --- a/.gitea/workflows/publish-pages.yml +++ b/.gitea/workflows/publish-pages.yml @@ -60,8 +60,9 @@ jobs: - name: Install AWS CLI run: | if ! command -v aws >/dev/null 2>&1; then - python3 -m pip install --user awscli - echo "$HOME/.local/bin" >> "$GITHUB_PATH" + apt-get update + apt-get install -y --no-install-recommends awscli + rm -rf /var/lib/apt/lists/* fi - name: Build static site diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 7494245..140babe 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -7,17 +7,13 @@ on: jobs: test: runs-on: ubuntu-latest + container: + image: node:22-bookworm steps: - name: Check out repository uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: npm - - name: Install dependencies run: npm ci