Update testing
This commit is contained in:
parent
2012693a64
commit
97c6f855c7
@ -28,6 +28,11 @@ jobs:
|
||||
git pull
|
||||
fi
|
||||
git checkout ${{ gitea.ref_name }}
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd /var/lib/act_runner/tenorjs-v2
|
||||
npm install
|
||||
npm run test
|
||||
- name: Publish to NPM
|
||||
run: |
|
||||
cd /var/lib/act_runner/tenorjs-v2
|
||||
|
@ -64,7 +64,9 @@ const tests = [
|
||||
Promise.all(tests)
|
||||
.then(() => {
|
||||
console.log('All tests passed!');
|
||||
process.exit(0);
|
||||
})
|
||||
.catch(() => {
|
||||
console.log('Some tests failed!');
|
||||
process.exit(1);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user