Add pre processing to Build stage instead

This commit is contained in:
Chris Hunt 2023-01-10 13:22:03 +00:00
parent ba61f88d33
commit 5f36b54892

View File

@ -12,13 +12,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Pre Process # Have to run processing first so the list.json exists to be included in the the deploy - name: Build # Have to run processing first so the list.json exists to be included in the the deploy
run: | run: |
npm ci --prefix processing npm ci --prefix processing
node processing node processing
- name: Build
run: |
npm ci --prefix site npm ci --prefix site
npm run build --prefix site npm run build --prefix site
npm run deploy --prefix site npm run deploy --prefix site