From fbd7c344786047844ff612e20b63b90557fb8777 Mon Sep 17 00:00:00 2001 From: Anoop P <44577841+anoopw3bdev@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:17:52 +0530 Subject: [PATCH] Basic github ci workflow for twenty website (#4869) Creates a basic github workflow for this issue #4832 --- .github/workflows/ci-website.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci-website.yaml diff --git a/.github/workflows/ci-website.yaml b/.github/workflows/ci-website.yaml new file mode 100644 index 000000000..2bed05553 --- /dev/null +++ b/.github/workflows/ci-website.yaml @@ -0,0 +1,29 @@ +name: CI Website +on: + push: + branches: + - main + paths: + - 'package.json' + - 'packages/twenty-website/**' + pull_request: + paths: + - 'package.json' + - 'packages/twenty-website/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + website-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: "18" + - name: Website / Install Dependencies + run: yarn + - name: Website / Build Website + run: yarn nx build twenty-website