File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Deploy to Vercel
1+ name : CI
22
33on :
44 push :
55 branches : [main]
6+ pull_request :
7+ branches : [main]
68 workflow_dispatch :
79
810jobs :
9- deploy :
11+ build :
1012 runs-on : ubuntu-latest
1113 steps :
1214 - uses : actions/checkout@v4
@@ -24,14 +26,11 @@ jobs:
2426 - name : Install dependencies
2527 run : pnpm install
2628
29+ - name : Build CLI
30+ run : pnpm --filter @antv/aimapui-cli build
31+
2732 - name : Build site
28- run : pnpm build: site
33+ run : pnpm --filter @antv/aimapui- site build
2934
30- - name : Deploy to Vercel
31- uses : amondnet/vercel-action@v25
32- with :
33- vercel-token : ${{ secrets.VERCEL_TOKEN }}
34- vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
35- vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }}
36- vercel-args : ' --prod'
37- working-directory : ./dist-site
35+ - name : Verify dist-site
36+ run : ls -la dist-site/
You can’t perform that action at this time.
0 commit comments