forked from salute-developers/plasma
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 924 Bytes
/
ci-lint.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
33
name: ESLint
on:
merge_group:
pull_request:
branches:
- dev
- master
concurrency:
# New commit on branch cancels running workflows of the same branch
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: false
- name: Prepare environment
uses: ./.github/actions/prepare-environment
# INFO: Для корректной работы ESLint не нужно build typings, etc.
# INFO: Только установить пакеты и сделать symlink
- name: Lerna bootstrap
run: npx lerna bootstrap --ignore-scripts
- name: Lint
run: npm run lint