File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed
Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build Calm Widgets
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ pull_request :
8+ branches :
9+ - ' main'
10+ push :
11+ branches :
12+ - ' main'
13+
14+ jobs :
15+ shared :
16+ name : Build, Test, and Lint Calm Widgets Module
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - name : Checkout PR Branch
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Node.js
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : v22
27+
28+ - name : Install workspace
29+ run : npm ci
30+
31+ - name : Lint Shared Module
32+ run : npm run lint --workspace=calm-widgets
33+
34+ - name : Build workspace
35+ run : npm run build --workspace=calm-widgets
36+
37+ - name : Run tests with coverage for Calm Widgets
38+ run : npm run test --workspace=calm-widgets
Original file line number Diff line number Diff line change 3232 run : npm run lint --workspace=shared
3333
3434 - name : Build workspace
35- run : npm run build --workspace= shared
35+ run : npm run build: shared
3636
3737 - name : Run tests with coverage for Shared
3838 run : npm run test --workspace=shared
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default defineConfig({
77 format : [ 'esm' ] ,
88 clean : true ,
99 keepNames : true ,
10+ noExternal : [ '@finos/calm-widgets' , / t s u p / ] ,
1011 outDir : 'dist/template-bundles/docusaurus' ,
1112 target : 'node18' ,
1213 outExtension : ( ) => ( { js : '.js' } )
You can’t perform that action at this time.
0 commit comments