From 530bb8644bdbafb5723e92bf8ac5bb71b412adf1 Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Thu, 23 Nov 2023 12:34:04 +0100 Subject: [PATCH] Add build execution in dapp and website CI --- .github/workflows/dapp.yaml | 18 ++++++++++++++++++ .github/workflows/website.yaml | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/.github/workflows/dapp.yaml b/.github/workflows/dapp.yaml index a06389992..81dc9c31c 100644 --- a/.github/workflows/dapp.yaml +++ b/.github/workflows/dapp.yaml @@ -30,3 +30,21 @@ jobs: - name: Format run: yarn format + + dapp-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version-file: "dapp/.nvmrc" + cache: "yarn" + cache-dependency-path: "dapp/yarn.lock" + + - name: Install Dependencies + run: yarn install --prefer-offline --frozen-lockfile + + - name: Build + run: yarn build diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index e1b62779d..89583fbb3 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -30,3 +30,21 @@ jobs: - name: Format run: yarn format + + website-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Node + uses: actions/setup-node@v4 + with: + node-version-file: "website/.nvmrc" + cache: "yarn" + cache-dependency-path: "website/yarn.lock" + + - name: Install Dependencies + run: yarn install --prefer-offline --frozen-lockfile + + - name: Build + run: yarn build