⬆️ Updates jest-dev-server to v11 #6643
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: Lint | |
on: [ pull_request ] | |
jobs: | |
merge-conflict: | |
name: Merge Conflict | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check merge conflict | |
run: grep "^<<<<<<< HEAD" $(git ls-files | xargs) && exit 1 || true | |
misspell: | |
name: Check Spelling | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
- name: Install | |
run: wget -O - -q https://git.io/misspell | sh -s -- -b . | |
- name: Misspell | |
run: git ls-files --empty-directory | xargs ./misspell -error | |
trailing-whitespace: | |
name: Trailing Whitespace | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check for trailing whitespace | |
run: "! git grep -EIn $'[ \t]+$' | grep -v '\\- '" |