name: Tests on: push: branches: [ dev ] pull_request: branches: [ dev ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [14.17, 16.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'yarn' - run: yarn --frozen-lockfile - run: yarn build - run: npm run lint - run: npm run ts:build:check - run: npm test