inside-ci/.forgejo/workflows/deploy.yml

25 lines
499 B
YAML
Raw Normal View History

2024-11-18 23:57:35 +00:00
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