Merge pull request #207 from cfpb/dependabot/npm_and_yarn/loader-util… #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- name: Install dependencies with Yarn | |
run: ./setup.sh | |
- name: Lint code | |
run: gulp lint --ci | |
- name: Run unit tests | |
run: gulp test |