Skip to content

Commit b404f8c

Browse files
committed
chore: added lint GitHub workflow
1 parent d449be9 commit b404f8c

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint DevTools frontend
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
path: src
13+
- name: setup-depot-tools
14+
uses: newkdev/setup-depot-tools@v1.0.1
15+
- name: Sync gclient workspace
16+
run: |
17+
gclient config --unmanaged src --name src
18+
gclient sync --no-history
19+
- name: Run linter
20+
run: |
21+
cd src
22+
npm run lint -- --fix=false

0 commit comments

Comments
 (0)