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!"