Add GitHub Actions workflow to test changes (#40)

This commit is contained in:
Jochen Schalanda
2022-01-24 16:34:31 +01:00
committed by GitHub
parent 45a18529ba
commit 0de6d3df04

21
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v2.5.1
with:
node-version: 16
cache: 'yarn'
- run: yarn install
- run: yarn run test