File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Dry-run Build
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - main
7+ - dev
8+
9+ jobs :
10+ build :
11+ runs-on : ubicloud-standard-2
12+ steps :
13+ - name : Checkout your repository using git
14+ uses : actions/checkout@v4
15+
16+ - name : Setup PNPM
17+ uses : pnpm/action-setup@v4
18+ with :
19+ version : latest
20+ package_json_file : ./package.json
21+
22+ - name : Setup Node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : 20
26+ cache : " pnpm"
27+
28+ - name : Install
29+ run : pnpm install
30+
31+ - name : Build
32+ run : pnpm run build
33+
34+ - name : Set up Docker Buildx
35+ uses : docker/setup-buildx-action@v3
36+
37+ - name : Build and push
38+ uses : docker/build-push-action@v6
39+ with :
40+ context : .
41+ push : false
42+ file : Dockerfile
43+
You can’t perform that action at this time.
0 commit comments