File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : InfoReader CI
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+ types : [opened, synchronize]
9
+
10
+ jobs :
11
+ linter :
12
+ name : ✅ Validate linter
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : ⬇️ Checkout project
17
+ uses : actions/checkout@v3
18
+
19
+ - name : 🟢 Setup NodeJS 18.x
20
+ uses : actions/setup-node@v3
21
+ with :
22
+ node-version : 18.x
23
+ cache : npm
24
+ cache-dependency-path : ' ./package-lock.json'
25
+
26
+ - name : 📥 Install dependencies
27
+ run : npm ci
28
+
29
+ - name : 📑 Check lint
30
+ run : npm run lint
31
+
32
+ test :
33
+ name : 🧑🔬 Test project
34
+ runs-on : ubuntu-latest
35
+
36
+ steps :
37
+ - name : ⬇️ Checkout project
38
+ uses : actions/checkout@v3
39
+
40
+ - name : 🟢 Setup NodeJS 18.x
41
+ uses : actions/setup-node@v3
42
+ with :
43
+ node-version : 18.x
44
+ cache : npm
45
+ cache-dependency-path : ' ./package-lock.json'
46
+
47
+ - name : 📥 Install dependencies
48
+ run : npm ci
49
+
50
+ - name : 🧪 Run challenges
51
+ run : npm run test -- --no-watch --code-coverage --browsers=ChromeHeadlessCI
You can’t perform that action at this time.
0 commit comments