From 026f410a05d0b70776ce3eca64d5a17868f0819f Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Thu, 18 Jan 2024 15:07:44 +1100 Subject: [PATCH] remove npx command (see #107), add .zip extension to uploaded file --- .github/workflows/build-on-push.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-on-push.yml b/.github/workflows/build-on-push.yml index 36078a08..607c24f5 100644 --- a/.github/workflows/build-on-push.yml +++ b/.github/workflows/build-on-push.yml @@ -13,13 +13,14 @@ jobs: node-version: '14.x' cache: 'npm' - run: npm ci - - run: npx browserslist@latest --update-db +# - run: npx browserslist@latest --update-db - run: npm run build # - run: npm test - uses: actions/upload-artifact@v4 id: artifact-upload-step with: - name: mavedb-ui + name: mavedb-ui.zip path: dist/ if-no-files-found: error - run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}' + - run: echo 'Artifact URL is ${{ steps.artifact-upload-step.outputs.artifact-url }}'