diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a61574..40edac5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ on: jobs: build: runs-on: ubuntu-latest + name: Build steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -40,3 +41,20 @@ jobs: with: name: build path: build + + test: + runs-on: ubuntu-latest + name: Test + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - name: Npm install + run: npm ci + - name: Build + run: npm run build + - name: Lint + run: npm run lint + - name: Unit tests + run: npm run unittest