File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 21
21
- run : yarn install --frozen-lockfile
22
22
- run : yarn --cwd web run build
23
23
24
+ eslint :
25
+ name : Run web linting via ESLint
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
29
+ - uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
30
+ with :
31
+ node-version : 18
32
+ cache : yarn
33
+ - run : yarn install --frozen-lockfile
34
+ - run : yarn --cwd web run lint
35
+
24
36
prettier :
25
37
name : Validate web formatting
26
38
runs-on : ubuntu-latest
37
49
uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
38
50
with :
39
51
script : |
40
- core.setFailed('web/ contains unformatted code, run `pnpm prettier . --write` and re-commit!')
52
+ core.setFailed('web/ contains unformatted code, run `yarn --cwd web run format --write` and re-commit!')
Original file line number Diff line number Diff line change 18
18
with :
19
19
github_token : ${{ secrets.GITHUB_TOKEN }}
20
20
21
- eslint :
22
- runs-on : ubuntu-latest
23
- steps :
24
- - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
25
- - uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
26
- with :
27
- version : 7.26.1
28
- run_install : true
29
- - uses : reviewdog/action-eslint@423672b7acbb75ee34d3e37aff30949ddc8350e3 # v1.24.0
30
- with :
31
- workdir : web
32
- github_token : ${{ secrets.GITHUB_TOKEN }}
33
-
34
21
flake8 :
35
22
runs-on : ubuntu-latest
36
23
steps :
You can’t perform that action at this time.
0 commit comments