inside-ci/.forgejo/workflows/deploy.yml
Jonatan Nilsson cae63830da
All checks were successful
/ deploy (push) Successful in 13s
Implement basic ci detection
2024-11-18 23:57:35 +00:00

24 lines
499 B
YAML

on:
push:
branches:
- master
jobs:
deploy:
runs-on: arch
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install dependencies
run: time pnpm install
- name: Run Tests
run: pnpm run test --ignore-only
- name: Sanity check it detects this CI
run: |
if node index.js; then
echo "Success"
else
echo "Failed for forgejo"
exit 1
fi