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 8d613dd commit 7307e95Copy full SHA for 7307e95
.github/workflows/lint.yml
@@ -0,0 +1,30 @@
1
+name: Lint
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+permissions:
10
+ statuses: write
11
+ deployments: write
12
+ pull-requests: write
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ with:
20
+ path: src
21
+ - name: Set up depot-tools
22
+ uses: newkdev/setup-depot-tools@v1.0.1
23
+ - name: Sync gclient workspace
24
+ run: |
25
+ gclient config --unmanaged src --name src
26
+ gclient sync --no-history
27
+ - name: Run linter
28
29
+ cd src
30
+ NODE_OPTIONS="--max-old-space-size=8192" npm run lint -- --fix=false
0 commit comments