aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 8398f51b0b18f8e1ee1c139fd3284ca587712608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
on: [push, pull_request]

jobs:
  build-and-test:
    runs-on: ubuntu-latest
    name: Build & run tests
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '16.0.0'
      - run: npm install
      - name: Typescript compiler
        run: npm run compile
      - name: Run tests
        run: npm test