Skip to content

fix: Fix lint erros on action spec #3

fix: Fix lint erros on action spec

fix: Fix lint erros on action spec #3

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
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build application
run: yarn build