ci: set up coverage, add the release and lint PR title workflows #11
Workflow file for this run
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: main-suite | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
validate: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
name: validate (16, ubuntu-latest) | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install | |
- name: Check Prettier Formatting | |
run: yarn prettier:check | |
- name: Unit Testing | |
run: yarn test:ci | |
- name: Check coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
verbose: true | |
token: ${{ secrets.CODECOV_TOKEN }} |