dependabot[bot] d8c96d2e0b
chore(deps): bump codecov/codecov-action from 2.1.0 to 3 (#203)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 07:27:31 -03:00

42 lines
786 B
YAML

name: Code CI
on:
push:
pull_request:
jobs:
build:
name: Build and test code
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node and restore cached dependencies
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install packages
run: yarn install --prefer-offline
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci --coverage
- name: Build
run: yarn build
- name: ESCheck
run: yarn run check
- name: Publish to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}