From 2a240af28ebf38be89687ef3fa7f329548b0f218 Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Tue, 15 Nov 2022 10:25:34 -0500 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e83f73b..df94fa5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,7 +26,15 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build --if-present + - name: Install deps + run: npm ci + - name: Build project + run: npm run build --if-present env: VITE_APIKEY: ${{ secrets.VITE_APIKEY }} + - name: Upload build files + uses: actions/upload-artifact@v3.1.1 + with: + name: production-files + path: ./dist +