File tree Expand file tree Collapse file tree 2 files changed +26
-25
lines changed Expand file tree Collapse file tree 2 files changed +26
-25
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
pull_request :
8
8
9
+ permissions :
10
+ contents : read
11
+
9
12
jobs :
10
- types-lint-build :
13
+ static-analysis :
14
+ name : Static Analysis
11
15
runs-on : ubuntu-latest
12
16
13
17
steps :
14
18
- uses : actions/checkout@v4
15
19
16
- - uses : actions/setup-node@v4.0.1
20
+ - uses : actions/setup-node@v4
17
21
with :
18
- node-version : ' 18 '
22
+ node-version-file : ' .nvmrc '
19
23
cache : ' yarn'
20
24
21
25
- run : yarn install
25
29
- run : yarn lint
26
30
27
31
- run : yarn build
32
+
33
+ unit-tests :
34
+ name : Unit Tests
35
+ runs-on : ubuntu-latest
36
+ timeout-minutes : 10
37
+
38
+ steps :
39
+ - uses : actions/checkout@v4
40
+
41
+ - uses : actions/setup-node@v4
42
+ with :
43
+ node-version-file : ' .nvmrc'
44
+ cache : ' yarn'
45
+
46
+ - run : yarn install
47
+
48
+ - run : yarn test:unit run
49
+ env :
50
+ CI : true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments