This commit is contained in:
parent
ee0326c9f4
commit
6818bb6bd8
1 changed files with 19 additions and 0 deletions
19
.forgejo/workflows/deploy.yml
Normal file
19
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: arch
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Run Tests
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run test -- --ignore-only
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in a new issue