pack: fix workflow build script
This commit is contained in:
1 parent
380a6ed3ef
commit
e85cece398
1 file changed
+3
-1
@@ -37,6 +37,7 @@ jobs:
|
||||
regex: false
|
||||
|
||||
build-documentation-pages:
|
||||
needs: find-and-replace-index-file
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@@ -63,10 +64,11 @@ jobs:
|
||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-npm-
|
||||
|
||||
# install dependencies if the cache did not hit
|
||||
- name: Install dependencies
|
||||
if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||
run: npm i
|
||||
run: npm install
|
||||
|
||||
# run build script
|
||||
- name: Build VitePress site
|
||||
|
||||
Reference in new issue
Block a user