Skip to content

Merge pull request #571 from weni-ai/feat/add-last-name-in-chats-per-… #1334

Merge pull request #571 from weni-ai/feat/add-last-name-in-chats-per-…

Merge pull request #571 from weni-ai/feat/add-last-name-in-chats-per-… #1334

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 18
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: |
npm install -g yarn
yarn install
- name: Run lint
run: yarn lint
- name: Run tests and coverage
run: yarn coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build application
run: yarn build