chore(deps): update major dev dependencies (major) #634
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: Health check | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
on: | |
pull_request: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
jest: | |
strategy: | |
matrix: | |
version: ['0.29'] | |
name: Unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- name: Install dependencies | |
run: yarn install --pure-lockfile | |
- name: Install ramda ${{ matrix.version }} | |
run: yarn add ramda@${{ matrix.version }} | |
- name: Jest | |
run: yarn test | |
eslint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
- name: Install dependencies | |
run: yarn install --pure-lockfile | |
- name: ESLint | |
uses: reviewdog/action-eslint@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-check | |
level: error | |
eslint_flags: src/ |