add test workflow on correct path
This commit is contained in:
parent
e831c343f7
commit
57b775aecf
1 changed files with 28 additions and 0 deletions
28
.forgejo/workspace/test.yaml
Normal file
28
.forgejo/workspace/test.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Show environment
|
||||
run: |
|
||||
echo "Branch: ${{ github.ref_name }}"
|
||||
echo "Commit: ${{ github.sha }}"
|
||||
node --version
|
||||
|
||||
- name: Run a fake test
|
||||
run: |
|
||||
echo "Pretending to test..."
|
||||
test 1 -eq 1 && echo "OK ✅"
|
||||
Loading…
Add table
Add a link
Reference in a new issue