feat: added test workflow for pr

This commit is contained in:
GitHub Actions
2021-01-16 22:45:45 +01:00
parent b8890fc6d7
commit 1bd01f60bd
2 changed files with 19 additions and 2 deletions

19
.github/workflows/merge.yaml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Test
on: [merge]
jobs:
version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
- name: tests
run: npm cit