File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will do a clean installation of node dependencies, cache/restore them and generate documentation.
2
- name : Docs
1
+ # This workflow builds documentation and formats/checks code
2
+ name : NPM CI
3
3
4
4
on :
5
5
push :
8
8
branches : [ "develop" ]
9
9
10
10
jobs :
11
- docs :
11
+ main :
12
+ name : Main
12
13
runs-on : ubuntu-latest
14
+
13
15
strategy :
14
16
matrix :
15
17
node-version : [18.x]
16
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
18
+
17
19
steps :
18
20
- uses : actions/checkout@v3
21
+
19
22
- name : Use Node.js ${{ matrix.node-version }}
20
23
uses : actions/setup-node@v3
21
24
with :
22
25
node-version : ${{ matrix.node-version }}
23
26
cache : ' npm'
24
27
cache-dependency-path : ' **/package-lock.json'
25
28
- run : npm ci
29
+
30
+ - name : Generate documentation
26
31
- run : npm run docs
You can’t perform that action at this time.
0 commit comments