We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aeb829 commit ebcb789Copy full SHA for ebcb789
.github/workflows/eslint-plugin-diff.yml
@@ -6,22 +6,12 @@ jobs:
6
runs-on: ubuntu-latest
7
steps:
8
- uses: actions/checkout@v3
9
- - name: Check if CI environment
10
- run: |
11
- env
12
- if [[ -z "$CI" ]]; then
13
- echo "Must provide CI in environment" 1>&2
14
- exit 1
15
- fi
16
- echo "CI='$CI'"
17
- name: Install modules
18
run: yarn
19
- name: Link the plugin
20
run: |
21
yarn link
22
yarn link "eslint-plugin-diff"
23
- - name: Fetch the base branch
24
- run: git fetch origin ${{ github.event.pull_request.base.ref }}:${{ github.event.pull_request.base.ref }}
25
- name: Run ESLint on your changes only
26
env:
27
ESLINT_PLUGIN_DIFF_COMMIT: ${{ github.event.pull_request.base.ref }}
0 commit comments