make download resume button functional and also fix some prettier issues #899
This file contains hidden or 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: Automated Client PR Tests and Lint | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| client-tests-and-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| - name: Install client dependencies | |
| run: | | |
| cd client | |
| npm install | |
| - name: Run client tests | |
| run: | | |
| cd client | |
| npm test | |
| - name: Run client linter | |
| run: | | |
| cd client | |
| npm run lint | |