From a38d2de03935e54bc89429f374db4df40cec3c2b Mon Sep 17 00:00:00 2001 From: "colynn.liu" Date: Thu, 23 Dec 2021 20:27:43 +0800 Subject: [PATCH] upgrade: add base workflow --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d59c0f6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Compile + +on: + push: + branches: + - contributing-help + +jobs: + build-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repo + uses: actions/checkout@master + with: + submodules: true + - name: Buile atomci backend + run: | + make build + - name: Build frontend page + uses: actions/setup-node@v2 + with: + node-version: '12' + run: | + cd web + yarn install + yarn run build -- GitLab