# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs name: Linting and Testing on: pull_request: branches: - master jobs: lintAndTest: name: Lint and Test runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Use LTS Node.js uses: actions/setup-node@v3 with: node-version: 'lts/*' cache: yarn - run: yarn - run: yarn lint - run: yarn test - run: yarn build