We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6a0b0 commit 28f6c5bCopy full SHA for 28f6c5b
1 file changed
.github/workflows/dry-run-build.yml
@@ -0,0 +1,43 @@
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
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
40
+ context: .
41
+ push: false
42
+ file: Dockerfile
43
0 commit comments