This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
chore(dependencies): Update commitlint monorepo to v18 (major) #879
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: Run tests | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
lint: | |
name: EsLint & Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Setup Node | |
uses: actions/setup-node@master | |
with: | |
node-version: "16.x" | |
- name: Install Web Project | |
run: npm install | |
- name: Check the code | |
run: | | |
npm run-script lint:prettier | |
tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
needs: [lint] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Install | |
run: npm install | |
- name: Run test coverage | |
run: npm run coverage-ci | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 |