Skip to content

Commit 2a23ee6

Browse files
eryajferyajf
eryajf
authored and
eryajf
committed
fix(build): 修正构建脚本字段名从scripts改为script
1 parent 6d92041 commit 2a23ee6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.cnb.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ main:
2929
- /data/.cache:copy-on-write
3030
stages:
3131
- name: print node version
32-
scripts: |
32+
script: |
3333
node -v && npm -v && yarn -v && pnpm -v
3434
- name: install dependencies
35-
scripts: |
35+
script: |
3636
pnpm i
3737
- name: build project
38-
scripts: |
38+
script: |
3939
pnpm build

0 commit comments

Comments
 (0)