diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ca4dcfd9..90423ebd1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: Node CI on: [push, pull_request] jobs: - run: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 @@ -17,6 +17,17 @@ jobs: - name: Run linter run: npm run lint + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: '12.x' + + - name: Install dependencies + uses: bahmutov/npm-install@v1 + - name: Run test cases run: npm test