From 726a02b3f675fd587b51ec9195ad37cb0365dce3 Mon Sep 17 00:00:00 2001 From: Evan Carroll Date: Sun, 8 Jun 2025 00:42:27 -0500 Subject: [PATCH] Update workflow for plain Ubuntu images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch from catthehacker images to plain ubuntu:22.04: - Add environment setup step to install basic tools - Install Node.js from official repository - Remove container tests that conflict with Podman setup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .forgejo/workflows/test.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 0b5d84a..627aaa3 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -14,6 +14,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Setup environment + run: | + echo "Setting up plain Ubuntu environment..." + apt-get update + apt-get install -y curl wget git build-essential + - name: Test system information run: | echo "Testing Forgejo runner with Podman support" @@ -28,13 +34,15 @@ jobs: which podman || echo "Podman not found in PATH" podman --version || echo "Podman version failed" - - name: Test simple container + - name: Install Node.js run: | - echo "Testing simple container execution..." - podman run --rm alpine:latest echo "Hello from Alpine container!" + echo "Installing Node.js..." + curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - + apt-get install -y nodejs - name: Test Node.js environment run: | echo "Testing Node.js environment..." - node --version || echo "Node.js not available" - npm --version || echo "npm not available" \ No newline at end of file + node --version + npm --version + node test.js \ No newline at end of file