test/test.js
Evan Carroll 1668b6bf8b
Some checks failed
Test CI Pipeline / test (push) Failing after 0s
Initial commit with test CI workflow
Add test repository to verify Forgejo runner deployment:
- Basic CI workflow testing system info and container runtime
- Test Podman container execution
- Simple Node.js test script

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-08 00:38:50 -05:00

19 lines
No EOL
512 B
JavaScript

// Simple test script to verify CI environment
console.log("Hello from test.js!");
console.log("Environment variables:");
console.log("NODE_VERSION:", process.version);
console.log("PLATFORM:", process.platform);
console.log("ARCH:", process.arch);
// Test basic functionality
const sum = (a, b) => a + b;
const result = sum(2, 3);
console.log("2 + 3 =", result);
if (result === 5) {
console.log("✅ Test passed!");
process.exit(0);
} else {
console.log("❌ Test failed!");
process.exit(1);
}