Update node.js.yml
This commit is contained in:
parent
707dc0e65e
commit
2a240af28e
1 changed files with 10 additions and 2 deletions
12
.github/workflows/node.js.yml
vendored
12
.github/workflows/node.js.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue