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
|
regex: false
|
||||||
|
|
||||||
build-documentation-pages:
|
build-documentation-pages:
|
||||||
|
needs: find-and-replace-index-file
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -63,10 +64,11 @@ jobs:
|
|||||||
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-npm-
|
${{ runner.os }}-npm-
|
||||||
|
|
||||||
# install dependencies if the cache did not hit
|
# install dependencies if the cache did not hit
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.npm-cache.outputs.cache-hit != 'true'
|
if: steps.npm-cache.outputs.cache-hit != 'true'
|
||||||
run: npm i
|
run: npm install
|
||||||
|
|
||||||
# run build script
|
# run build script
|
||||||
- name: Build VitePress site
|
- name: Build VitePress site
|
||||||
|
|||||||
Reference in new issue
Block a user