Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
cache-dependency-path: chartlets.js/package-lock.json

- run: npm ci
- run: npm run compile
- run: npm run lint
- run: npm run test

Expand Down Expand Up @@ -62,7 +63,12 @@ jobs:
run: |
cd chartlets.js
npm install


- name: Lib compile
run: |
cd chartlets.js/packages/lib
npm run compile

- name: Lib lint
run: |
cd chartlets.js/packages/lib
Expand All @@ -77,7 +83,12 @@ jobs:
run: |
cd chartlets.js/packages/lib
npm run build


- name: Demo compile
run: |
cd chartlets.js/packages/demo
npm run compile

- name: Demo lint
run: |
cd chartlets.js/packages/demo
Expand Down
17 changes: 14 additions & 3 deletions .github/workflows/publish-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
cache-dependency-path: chartlets.js/package-lock.json

- run: npm ci
- run: npm run compile
- run: npm run lint
- run: npm run test

Expand Down Expand Up @@ -56,8 +57,13 @@ jobs:
- name: Install common dependencies
run: |
cd chartlets.js
npm install

npm install

- name: Lib compile
run: |
cd chartlets.js/packages/lib
npm run compile

- name: Lib lint
run: |
cd chartlets.js/packages/lib
Expand All @@ -72,7 +78,12 @@ jobs:
run: |
cd chartlets.js/packages/lib
npm run build


- name: Demo compile
run: |
cd chartlets.js/packages/demo
npm run compile

- name: Demo lint
run: |
cd chartlets.js/packages/demo
Expand Down
3 changes: 2 additions & 1 deletion chartlets.js/packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"coverage": "vitest run --coverage",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"compile": "tsc"
},
"dependencies": {
"@emotion/react": "^11.13.3",
Expand Down
3 changes: 2 additions & 1 deletion chartlets.js/packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"coverage": "vitest run --coverage",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"preview": "vite preview",
"compile": "tsc"
},
"dependencies": {
"micro-memoize": "^4.1.3",
Expand Down