try with different path? #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build (On Push) | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '14.x' | |
cache: 'npm' | |
- run: npm ci | |
- 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 | |
path: dist/ | |
if-no-files-found: error | |
- run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}' |