build: update deps and ramda functions #87
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: 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: | |
name: Unit test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install dependencies | |
uses: borales/[email protected] | |
with: | |
cmd: install --pure-lockfile | |
- name: Jest | |
uses: mattallty/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
test-command: yarn test | |
eslint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: ESLint | |
uses: reviewdog/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-check | |
level: error | |
eslint_flags: index.js src/ |