Skip to content

Commit

Permalink
update workflow with duplicate detectin
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos committed Dec 20, 2024
1 parent 1d67578 commit 3ee76d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ee76d8

Please sign in to comment.