Add a Github Action config for running tests on all branches on push

This commit is contained in:
haad 2022-12-30 12:58:09 +02:00
parent a6e91dcf76
commit 9ded256132

18
.github/workflows/run-test.yml vendored Normal file
View File

@ -0,0 +1,18 @@
---
name: Run Tests
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test