File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 11name : prod
2- on :
2+ on :
33 push :
4- branches :
5- - ' cesium.com'
4+ branches :
5+ - " cesium.com"
66jobs :
77 lint :
88 runs-on : ubuntu-latest
1111 - name : install node 22
1212 uses : actions/setup-node@v5
1313 with :
14- node-version : ' 22 '
14+ node-version : " 22 "
1515 - name : npm install
1616 run : npm install
1717 - name : lint *.js
@@ -36,13 +36,17 @@ jobs:
3636 - name : install node 22
3737 uses : actions/setup-node@v5
3838 with :
39- node-version : ' 22 '
39+ node-version : " 22 "
4040 - name : npm install
4141 run : npm install
4242 - name : build website release
4343 run : npm run website-release
4444 - name : build apps
4545 run : npm run build-apps
46+ - name : build types
47+ run : npm run build-ts
48+ - name : build prod sandcastle
49+ run : npm run build-prod -w packages/sandcastle -- -l warn
4650 - name : deploy to cesium.com
4751 if : ${{ env.AWS_ACCESS_KEY_ID != '' }}
4852 run : |
5155 aws s3 sync Build/release/ s3://cesium-website/cesiumjs/releases/$(cat package.json | jq -r '.version' | sed 's/\.0$//')/ --cache-control "public, max-age=1800" --delete
5256 aws s3 sync Build/Documentation/ s3://cesium-website/cesiumjs/ref-doc/ --cache-control "public, max-age=1800" --delete
5357 aws s3 sync Build/CesiumViewer/ s3://cesium-website/cesiumjs/cesium-viewer/ --cache-control "public, max-age=1800" --delete
54- aws s3 sync Build/Sandcastle / s3://cesium-sandcastle-website/ --cache-control "public, max-age=1800" --delete
58+ aws s3 sync Build/Sandcastle2 / s3://cesium-sandcastle-website/ --cache-control "public, max-age=1800" --delete
You can’t perform that action at this time.
0 commit comments