Update workflow for plain Ubuntu images
Some checks failed
Test CI Pipeline / test (push) Failing after 1s

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 <noreply@anthropic.com>
This commit is contained in:
Evan Carroll 2025-06-08 00:42:27 -05:00
parent 1668b6bf8b
commit 726a02b3f6

View file

@ -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"
node --version
npm --version
node test.js