Fix left/right movement of caret while editing with selectRange enabled. #194
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: Bad files check | |
on: | |
pull_request: | |
jobs: | |
check: | |
name: Dist check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Get specific changed files in dist | |
id: changed-files-specific | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: | | |
dist | |
- name: Check file existence | |
id: check_files | |
uses: andstor/file-existence-action@v1 | |
with: | |
files: "yarn.lock" | |
- name: Fail if dist files changed | |
if: steps.changed-files-specific.outputs.any_changed == 'true' | |
run: | | |
echo "Oops! Looks like you modified some files in dist/. Please remove them from your PR, thanks!" | |
exit 1 | |
- name: Fail if yarn lock exists | |
if: steps.check_files.outputs.files_exists == 'true' | |
run: | | |
echo "Oops! Looks like you checked in a yarn.lock file, we use npm and package-lock.json. Please remove it from your PR, thanks!" | |
exit 1 |