ci: deploy-h5.yml
This commit is contained in:
parent
8416fbb704
commit
5c6d4089d5
10
.github/workflows/deploy-h5.yml
vendored
10
.github/workflows/deploy-h5.yml
vendored
@ -27,16 +27,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
- name: Restore cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
dist/build/h5
|
|
||||||
# Generate a new cache whenever packages or source files change.
|
|
||||||
key: ${{ runner.os }}-unibest-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
|
||||||
# If source files changed but packages didn't, rebuild from a prior cache.
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-unibest-${{ hashFiles('**/pnpm-lock.yaml') }}-
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm i
|
run: pnpm i
|
||||||
- name: Build
|
- name: Build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user