Browse Source

chore: use node16

vben 3 years ago
parent
commit
c69996d073
2 changed files with 4 additions and 4 deletions
  1. 2 2
      .github/workflows/deploy.yml
  2. 2 2
      .github/workflows/ftp-schedule.yml

+ 2 - 2
.github/workflows/deploy.yml

@@ -68,10 +68,10 @@ jobs:
           sed -i  "s#VITE_BUILD_COMPRESS\s*=.*#VITE_BUILD_COMPRESS = 'gzip'#g" ./.env.production
           cat ./.env.production
 
-      - name: use Node.js 14
+      - name: use Node.js 16
         uses: actions/setup-node@v2.1.2
         with:
-          node-version: '14.x'
+          node-version: '16.x'
 
       - name: Get yarn cache
         id: yarn-cache

+ 2 - 2
.github/workflows/ftp-schedule.yml

@@ -21,10 +21,10 @@ jobs:
           sed -i  "s#VITE_DROP_CONSOLE\s*=.*#VITE_DROP_CONSOLE = true#g" ./.env.production
           cat ./.env.production
 
-      - name: use Node.js 15
+      - name: use Node.js 16
         uses: actions/setup-node@v2.1.2
         with:
-          node-version: '15.x'
+          node-version: '16.x'
 
       - name: Get yarn cache
         id: yarn-cache