File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
build :
12
12
name : Docker Build Image And Push Docker Registry
13
- runs-on : blacksmith-8vcpu -ubuntu-2204
13
+ runs-on : blacksmith-4vcpu -ubuntu-2204
14
14
env :
15
15
SECRET_REPO_PREFIX : REPO_
16
16
SECRET_USERNAME_PREFIX : USERNAME_
@@ -25,19 +25,22 @@ jobs:
25
25
with :
26
26
node-version : ' 20'
27
27
28
- - name : Build front
28
+ - name : Install yarn
29
29
run : |
30
30
npm install -g yarn
31
- yarn && yarn build
32
31
33
- - name : Setup Node
32
+ - name : Setup Node Cache
34
33
# uses: actions/setup-node@v4
35
34
uses : useblacksmith/setup-node@v5
36
35
with :
37
36
node-version : ' 20'
38
37
cache : ' yarn'
39
38
cache-dependency-path : yarn.lock
40
39
40
+ - name : Build front
41
+ run : |
42
+ yarn && yarn build
43
+
41
44
- name : Set up QEMU # 设置 QEMU 环境,用来模拟操作系统,用来编译 arm64 镜像和 amd64 镜像
42
45
uses : docker/setup-qemu-action@v3
43
46
with :
You can’t perform that action at this time.
0 commit comments