Wip - Add lighthouse config #198
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: CI/CD | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
name: "Run jest tests" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: ./.github/actions/setup-node | |
- name: Run tests | |
run: npm run test | |
lint: | |
name: "Lint and static checks" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node | |
uses: ./.github/actions/setup-node | |
- name: Run linter | |
run: | | |
npx eslint --ext .js,.jsx |