Merge pull request #347 from weni-ai/feat/search-catalogs #1037
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: Run Unit Tests, Lint Files and Build Project | |
on: push | |
jobs: | |
lint-test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node 14 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install dependencies | |
run: | | |
npm install -g yarn | |
yarn install | |
- name: Run lint | |
run: yarn lint | |
- name: Run tests | |
run: yarn test:unit | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
- name: Build application | |
run: yarn build |