DATA-173 | Update Context so it can work on Mobile #37
Workflow file for this run
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: Pull request checks | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: 'Run lint and tests' | |
steps: | |
- uses: actions/setup-node@v3 | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: npm-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
npm-node- | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: Run lint | |
run: npm run lint | |
- name: Run tests | |
run: npm test |