Ignore changes to un-related files in regex matches. #214
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: | |
- name: "\U0001F53D Start setup [checkout]" | |
run: echo "Setting something up" | |
- uses: actions/checkout@v1 | |
name: get the repo | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: "\U0001F53C Finished setup [checkout]" | |
run: echo "Finished setting it up" | |
- 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 }}' |