diff --git a/workflows/ci.yml b/workflows/ci.yml new file mode 100644 index 0000000..db004f1 --- /dev/null +++ b/workflows/ci.yml @@ -0,0 +1,18 @@ +name: Continuous integration + +on: [pull_request, push] + +jobs: + check_pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - name: "npm ci" + run: npm ci + + - name: "npm run build" + run: npm run build + + - name: "npm run test" + run: npm run test