name: unit-tests on: [pull_request, push] jobs: unit-test: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1 - name: Install and Test run: | npm install npm run-script test