Fix env variable in CI detection #82
This file contains hidden or 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: Run ESLint on your changes only | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
env: | |
HUSKY: 0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- name: Install modules | |
run: yarn install --frozen-lockfile | |
- name: Link the plugin | |
run: | | |
yarn link | |
yarn link "eslint-plugin-diff" | |
- name: Run ESLint on your changes only | |
run: yarn run lint |