Help Gerald handle files that it can't read. #207
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
# AUTOGENERATED by workflow-preprocessor.js from ../.github/workflow-templates/pr-actions.yml | |
name: Lint and Unit Test | |
'on': | |
- pull_request | |
jobs: | |
lint_and_unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
name: '▶️ Setup checkout: get the repo' | |
- run: yarn | |
name: '▶️ Setup yarn: ' | |
- name: Run eslint | |
uses: Khan/eslint-action@master | |
with: | |
eslint-lib: ./node_modules/eslint | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
- name: Run jest tests | |
uses: Khan/jest-action@master | |
with: | |
jest-bin: ./node_modules/.bin/jest | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
ATLASSIAN_API_TOKEN: '${{ secrets.ATLASSIAN_API_TOKEN }}' | |
ATLASSIAN_API_USER: [email protected] | |
ATLASSIAN_HOST: 'https://khanacademy.atlassian.net' | |
- name: Run jest coverage | |
uses: Khan/jest-coverage-action@master | |
with: | |
jest-bin: ./node_modules/.bin/jest | |
coverage-data-path: ./coverage/coverage-final.json | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
- name: Run flow | |
uses: Khan/flow-action@master | |
with: | |
flow-bin: ./node_modules/.bin/flow | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
- name: Run flow coverage | |
uses: Khan/flow-coverage-action@master | |
with: | |
flow-bin: ./node_modules/.bin/flow | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' |