Skip to content

Commit a7ee676

Browse files
committed
Merge branch 'dry-run' into dev
2 parents 0a6a0b0 + 6dcb24f commit a7ee676

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+

0 commit comments

Comments
 (0)