File tree Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Expand file tree Collapse file tree 1 file changed +25
-7
lines changed Original file line number Diff line number Diff line change 12
12
PNPM_VERSION : 7.17.1
13
13
14
14
jobs :
15
- lint-and-test :
15
+ lint :
16
+ runs-on : ubuntu-20.04
17
+
18
+ steps :
19
+ - uses : actions/checkout@v3.1.0
20
+
21
+ - uses : pnpm/action-setup@v2.2.4
22
+ with :
23
+ version : ${{ env.PNPM_VERSION }}
24
+
25
+ - uses : actions/setup-node@v3.5.1
26
+ with :
27
+ cache : pnpm
28
+ node-version-file : package.json
29
+
30
+ - name : Install node modules
31
+ run : pnpm install
32
+
33
+ - name : Lint
34
+ run : |
35
+ pnpm lint:hbs
36
+ pnpm lint:js
37
+ pnpm lint:deps
38
+
39
+ test :
16
40
runs-on : ubuntu-20.04
17
41
env :
18
42
JOBS : 1 # See https://git.io/vdao3 for details.
37
61
- name : Install node modules
38
62
run : pnpm install
39
63
40
- - name : Lint
41
- run : |
42
- pnpm lint:hbs
43
- pnpm lint:js
44
- pnpm lint:deps
45
-
46
64
- name : Run percy exec
47
65
if : github.repository == 'rust-lang/crates.io'
48
66
run : pnpm percy exec -- pnpm test-coverage
You can’t perform that action at this time.
0 commit comments