-
-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (30 loc) · 906 Bytes
/
eslint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: ESLint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
eslint:
name: ESLint Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: rm -f .yarnclean
- run: yarn --frozen-lockfile --ignore-engines --ignore-optional --no-bin-links --non-interactive --silent --ignore-scripts --production=false
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
HUSKY_SKIP_INSTALL: true
# Alternative: if you use npm instead of yarn
# - run: npm ci --no-audit --prefer-offline
- uses: tinovyatkin/action-eslint@v1
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
check-name: eslint # this is the check name from above 👆 where to post annotations