This commit is contained in:
parent
d4e0859311
commit
bb02773e02
1 changed files with 27 additions and 0 deletions
27
.forgejo/workflows/ci.yml
Normal file
27
.forgejo/workflows/ci.yml
Normal 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!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue