Merge pull request #121 from SoulSwapFinance/master #289
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 CI | |
on: | |
push: | |
branches: | |
- '*' | |
- '!master' | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
pull_request_ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- uses: bahmutov/npm-install@v1 | |
- name: Run check (sanity only) | |
run: npm run check-sanity | |
- name: Run test | |
run: npm t | |
- name: Run lint | |
run: npm run lint |