Merge pull request #2569 from Badger-Finance/development #5511
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Link Crawler | |
run: yarn link-crawler | |
- name: Run Code Linter | |
run: yarn lint | |
- name: Run Tests | |
run: yarn test | |
- name: Test Build | |
run: CI=false yarn build | |
env: | |
GENERATE_SOURCEMAP: false |