Merge pull request #31 from hack4impact-upenn/edit-resource #133
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: Lint and Test | |
on: push | |
jobs: | |
lint: | |
name: Run linting | |
runs-on: ubuntu-latest # Specifies the VM to run the workflow on | |
steps: | |
- uses: actions/checkout@v2 # Checks out the the project repo | |
- run: | | |
yarn install | |
yarn lint && yarn prettier-check | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
yarn install | |
yarn test |