mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix: ci #9
This commit is contained in:
parent
30ccbfa695
commit
e6c820792a
24
.github/workflows/deploy.yml
vendored
24
.github/workflows/deploy.yml
vendored
@ -78,19 +78,19 @@ jobs:
|
|||||||
- name: use Node.js 16
|
- name: use Node.js 16
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- name: Get yarn cache directory path
|
# - name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
# id: yarn-cache-dir-path
|
||||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
# run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||||
|
#
|
||||||
- name: Cache dependencies
|
# - name: Cache dependencies
|
||||||
uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
# ${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Set SSH Environment
|
- name: Set SSH Environment
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user