修改打包命令&CI

This commit is contained in:
joylink_fanyuhong 2024-04-02 20:30:55 +08:00
parent 9f8d45f450
commit 3d3d614f3c
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ jobs:
npm install --global yarn
yarn config set registry https://registry.npmmirror.com
yarn
yarn run build:test
yarn run build:local
tar czvf ./dist-test.tar.gz ./dist
- name: 打包发送到本地测试环境
uses: https://gitea.joylink.club/appleboy/scp-action@v0.1.7

View File

@ -10,7 +10,8 @@
"format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test": "echo \"No test specified\" && exit 0",
"dev": "quasar dev",
"build": "URL_ENV=local quasar build",
"build": "quasar build",
"build:local": "URL_ENV=local_test quasar build",
"build:test": "URL_ENV=test quasar build",
"build:publish": "URL_ENV=publish quasar build",
"protoc": "node scripts/proto.cjs",