forgejo test
This commit is contained in:
parent
ee0326c9f4
commit
0c0f9b3fd8
1 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/deploy.yml
Normal file
18
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
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