File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Deploy Element Plus
2+
3+ on :
4+ push :
5+ branches :
6+ - ' master'
7+
8+ jobs :
9+ build-and-deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+
15+ - name : Install pnpm
16+ run : corepack enable
17+
18+ - name : Setup Node.js
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : ' 18'
22+ cache : ' pnpm'
23+
24+ - name : Install Dependencies
25+ run : pnpm install --no-frozen-lockfile
26+ - name : Build Vue Utils
27+ run : pnpm run build:vue-utils
28+
29+ - name : Build playground Site
30+ run : cd playground && pnpm run build
31+
32+ - name : Deploy to playgounr packages
33+ uses : JamesIves/github-pages-deploy-action@v4.4.1
34+ with :
35+ branch : docs
36+ folder : playground/dist
37+ token : ${{ secrets.GITHUB_TOKEN }}
38+ repository-name : cc-heart-dev/object-to-declare
39+ target-folder : /
40+ single-commit : true
41+ clean : true
42+
You can’t perform that action at this time.
0 commit comments