From 3ee76d85d9833ae4e3843712b16ba7cbe7a94214 Mon Sep 17 00:00:00 2001 From: Rob Bos Date: Fri, 20 Dec 2024 21:05:18 +0000 Subject: [PATCH] update workflow with duplicate detectin --- .github/workflows/deploy-pages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index de8ac69..a7402a3 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -40,6 +40,10 @@ jobs: - name: Install dependencies run: npm ci + - name: Prevent duplicate ID's in the data.json + run: | + node duplicate-ids-detection.js + - name: Build project env: NODE_ENV: ${{ vars.NODE_ENV }} # use the vars to indicate the env that is uesd in the react-config.js to set the base url / folder