Add Github CI action to run tests

This commit is contained in:
haad
2022-12-30 12:51:47 +02:00
parent 86e8fef7fe
commit 0f8ca0bbb4

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

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