name: Lint

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: 15
      # do not cache node_modules as recommended here https://github.com/actions/cache/blob/master/examples.md#node---npm
      - name: Install dependencies
        run: npm ci
      - name: Run ESLint
        run: npm run lint
      - name: Run Typescript compiler
        run: npm run tsc
      - name: Run tests
        run: npm test

name: Lint

on: [push]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: 16
      # do not cache node_modules as recommended here https://github.com/actions/cache/blob/master/examples.md#node---npm
      - name: Install dependencies
        run: npm ci
      - name: Run ESLint
        run: npm run lint
      - name: Run Typescript compiler
        run: npm run tsc
      - name: Run tests
        run: npm test

Update Github Action that setups Node.js and update Node.js version
Update Github Action that setups Node.js and update Node.js version
