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:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- name: Install deps
|
||||||
- run: npm run build --if-present
|
run: npm ci
|
||||||
|
- name: Build project
|
||||||
|
run: npm run build --if-present
|
||||||
env:
|
env:
|
||||||
VITE_APIKEY: ${{ secrets.VITE_APIKEY }}
|
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