File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-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+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ build :
15+ runs-on : ubicloud-standard-2
16+ steps :
17+ - name : Checkout your repository using git
18+ uses : actions/checkout@v4
19+
20+ - name : Setup PNPM
21+ uses : pnpm/action-setup@v4
22+ with :
23+ version : latest
24+ package_json_file : ./package.json
25+
26+ - name : Setup Node
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version : 20
30+ cache : " pnpm"
31+
32+ - name : Install
33+ run : pnpm install
34+
35+ - name : Build
36+ run : pnpm run build
37+
38+ - name : Set up Docker Buildx
39+ uses : docker/setup-buildx-action@v3
40+
41+ - name : Build and push
42+ uses : docker/build-push-action@v6
43+ with :
44+ context : .
45+ push : false
46+ file : Dockerfile
47+
You can’t perform that action at this time.
0 commit comments