From 58f99545c020bab46e306872c4f147fe47092970 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Fri, 5 Jan 2024 16:04:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7(ci)=20github=20action=20job=20buil?= =?UTF-8?q?d-desk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create the job build-desk in the workflow people.yml. It will check that the app is linting and building correctly. --- .github/workflows/people.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/people.yml b/.github/workflows/people.yml index a8875f9..b4a1843 100644 --- a/.github/workflows/people.yml +++ b/.github/workflows/people.yml @@ -58,6 +58,25 @@ jobs: exit 1 fi + build-front-desk: + runs-on: ubuntu-latest + defaults: + run: + working-directory: src/frontend/app/desk + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '18.x' + cache: 'yarn' + cache-dependency-path: src/frontend/app/desk/yarn.lock + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Build Desk App + run: yarn build + build-mails: runs-on: ubuntu-latest defaults: