File tree Expand file tree Collapse file tree 3 files changed +57
-2
lines changed
Expand file tree Collapse file tree 3 files changed +57
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ package-build :
11+ runs-on : ubuntu-latest
12+ name : ' Build-Test'
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v2
16+ - name : Use Node.js
17+ uses : actions/setup-node@v2
18+ with :
19+ node-version : ' 16'
20+ - name : Install Deps
21+ run : yarn install
22+ - name : Build
23+ run : yarn build
24+
25+ demo-build :
26+ runs-on : ${{ matrix.os }}
27+ strategy :
28+ matrix :
29+ os : [ubuntu-latest]
30+ node_version : ['12', '14', '16']
31+ include :
32+ - os : macos-latest
33+ node_version : 16
34+ - os : windows-latest
35+ node_version : 16
36+ name : ' Demo-Build-Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
37+ steps :
38+ - name : Checkout
39+ uses : actions/checkout@v2
40+ - name : Set node version to ${{ matrix.node_version }}
41+ uses : actions/setup-node@v2
42+ with :
43+ node-version : ${{ matrix.node_version }}
44+ - name : Package Install deps
45+ run : yarn install
46+ - name : Package Build
47+ run : yarn build
48+ - name : Demo Install deps
49+ run : |
50+ cd demo/
51+ yarn install
52+ - name : Demo build
53+ run : |
54+ cd demo/
55+ yarn build
Original file line number Diff line number Diff line change 1010 "devDependencies" : {
1111 "cesium" : " ^1.88.0" ,
1212 "vite" : " ^2.7.1" ,
13- "vite-plugin-cesium" : " ^1.2.12 "
13+ "vite-plugin-cesium" : " link:.. "
1414 }
1515}
Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite' ;
22import cesium from 'vite-plugin-cesium' ;
33export default defineConfig ( {
4- plugins : [ cesium ( ) ]
4+ plugins : [ cesium ( { rebuildCesium : true } ) ]
55} ) ;
You can’t perform that action at this time.
0 commit comments