run install

This commit is contained in:
texm
2023-04-25 15:48:08 +08:00
parent 6759dbd23f
commit 401392d1b1

View File

@@ -19,6 +19,9 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- uses: actions/checkout@v3
@@ -29,11 +32,12 @@ jobs:
node-version: 16
cache: 'npm'
cache-dependency-path: 'web/package-lock.json'
- run: npm --prefix web run build
- run: npm install
- run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./web/build
path: ./build
deploy:
runs-on: ubuntu-latest