File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed
Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,32 @@ jobs:
1717 with :
1818 node-version : ' 18.x'
1919
20- - name : Install dependencies
20+ - name : Install common dependencies
2121 run : |
2222 cd chartlets.js
2323 npm install
2424
25- - name : Linter
25+ - name : Lib lint
2626 run : |
27- cd chartlets.js
27+ cd chartlets.js/packages/lib
2828 npm run lint
2929
30- - name : Run frontend tests
30+ - name : Lib tests
3131 run : |
32- cd chartlets.js
32+ cd chartlets.js/packages/lib
3333 npm run test
3434
35- - name : Build frontend application
35+ - name : Lib build
3636 run : |
37- cd chartlets.js
37+ cd chartlets.js/packages/lib
38+ npm run build
39+
40+ - name : Demo lint
41+ run : |
42+ cd chartlets.js/packages/demo
43+ npm run lint
44+
45+ - name : Demo build
46+ run : |
47+ cd chartlets.js/packages/demo
3848 npm run build
Original file line number Diff line number Diff line change @@ -123,7 +123,11 @@ jobs:
123123 cache-dependency-path : chartlets.js/package-lock.json
124124
125125 - run : npm ci
126- - run : npm run build
127- - run : npm publish --access public
126+ - run : |
127+ cd packages/lib
128+ npm run build
129+ - run : |
130+ cd packages/lib
131+ npm publish --access public
128132 env:
129133 NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments