add sample CI workflow
Some checks failed
CI / test (push) Failing after 1m28s

This commit is contained in:
hiten 2026-02-27 18:21:33 +00:00
parent d4e0859311
commit bb02773e02

27
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Show environment
run: |
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
echo "Working directory: $(pwd)"
ls -la
- name: Run a test
run: |
echo "Hello from Forgejo Actions!"
echo "Repository: $GITHUB_REPOSITORY"
echo "Branch: $GITHUB_REF_NAME"
echo "CI is working!"