From ba61f88d33445817bc11ddae2f3e51a462e47ad9 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Tue, 10 Jan 2023 13:19:21 +0000 Subject: [PATCH] Add pre processing --- .github/workflows/build-and-deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 3d4ad0b..7379eba 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -12,13 +12,18 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Pre Process # Have to run processing first so the list.json exists to be included in the the deploy + run: | + npm ci --prefix processing + node processing + - name: Build run: | npm ci --prefix site npm run build --prefix site npm run deploy --prefix site - - name: Generate App List + - name: Generate App List # Have to run it again because the deploy wipes the file and folders out run: | npm ci --prefix processing node processing