25 lines
499 B
YAML
25 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
|