From 3dfd1af6341cd007e61f7abebec3531edd70d244 Mon Sep 17 00:00:00 2001 From: Jack Zhuang <50353452+hotlong@users.noreply.github.com> Date: Wed, 28 Jun 2023 21:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=20gitpod=20=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E5=BC=80=E5=8F=91=E7=8E=AF=E5=A2=83=20#7229=20(#7230)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitpod.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000..c92ba2243 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,24 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +ports: + - port: 3000 + onOpen: ignore + visibility: public + - port: 8888 + onOpen: ignore + visibility: public + +tasks: + - name: SDK + command: | + npm i + npm run build --workspace amis --workspace amis-ui + npx -y serve packages/amis/ + - name: Amis + command: | + gp await-port 3000 + npm run start