diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 45de931..3c10f58 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,6 +16,8 @@ jobs: node-version: 20 - name: build + env: + NODE_ENV: development run: | npm ci && npm run build diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index 042b02d..3658899 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -28,7 +28,7 @@ jobs: - name: Build run: | npm ci - npm run build + NODE_ENV=production npm run build touch ./build/.nojekyll && echo 'metrics.bmlt.app' > ./build/CNAME - name: Upload artifact uses: actions/upload-pages-artifact@v3