File tree Expand file tree Collapse file tree 1 file changed +24
-11
lines changed
Expand file tree Collapse file tree 1 file changed +24
-11
lines changed Original file line number Diff line number Diff line change 1- # This workflow will do a clean install of node dependencies, build the source code and run eslint
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41name : CI
52
63on :
118
129jobs :
1310 build :
14-
11+ name : Build
1512 runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+ - name : Setup Node.js 16.x
17+ uses : actions/setup-node@v2.1.4
18+ with :
19+ node-version : 16.x
20+ - name : Install dependencies
21+ run : npm ci
22+ - name : Build PCUI Graph
23+ run : npm run build
1624
25+ lint :
26+ name : Lint
27+ runs-on : ubuntu-latest
1728 steps :
18- - uses : actions/checkout@v2
19- - name : Setup Node.js 10.x
20- uses : actions/setup-node@v1
29+ - name : Checkout code
30+ uses : actions/checkout@v2
31+ - name : Setup Node.js 16.x
32+ uses : actions/setup-node@v2.1.4
2133 with :
22- node-version : 10.x
23- - run : npm ci
24- - run : npm run build
25- - run : npm run lint
34+ node-version : 16.x
35+ - name : Install dependencies
36+ run : npm ci
37+ - name : Run ESLint
38+ run : npm run lint
You can’t perform that action at this time.
0 commit comments