|
|
@@ -27,16 +27,6 @@ jobs:
|
|
|
with:
|
|
|
node-version: '18'
|
|
|
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
|
|
|
run: pnpm i
|
|
|
- name: Build
|