diff --git a/.github/workflows/ftp-schedule.yml b/.github/workflows/ftp-schedule.yml index 74e28a91f6f93a734054157987c11707723d7c90..fb0df248a2436a088618dc4d0a80d4e78b9d665a 100644 --- a/.github/workflows/ftp-schedule.yml +++ b/.github/workflows/ftp-schedule.yml @@ -25,17 +25,17 @@ jobs: with: node-version: '14.x' - # - name: Get yarn cache - # id: yarn-cache - # run: echo "::set-output name=dir::$(yarn cache dir)" - - # - name: Cache dependencies - # uses: actions/cache@v2 - # with: - # path: ${{ steps.yarn-cache.outputs.dir }} - # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-yarn- + - name: Get yarn cache + id: yarn-cache + run: echo "::set-output name=dir::$(yarn cache dir)" + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.yarn-cache.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - name: Build run: | diff --git a/package.json b/package.json index 8bf4a2705282f81fab7b5cccd18c9a3419ee4e49..455d291a090a68ffc83d9737c8be7c417c449784 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "stylelint-order": "^4.1.0", "ts-node": "^9.1.1", "typescript": "4.2.4", - "vite": "2.2.1", + "vite": "2.1.5", "vite-plugin-compression": "^0.2.4", "vite-plugin-html": "^2.0.7", "vite-plugin-imagemin": "^0.3.0", diff --git a/yarn.lock b/yarn.lock index 3ebf730ee349f2e115499ff9814ac42434c8d941..c6dc9f14dc478a51fc110037be88070605b679b2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9307,10 +9307,10 @@ vite-plugin-windicss@0.15.2: debug "^4.3.2" windicss "^2.5.14" -vite@2.2.1: - version "2.2.1" - resolved "https://registry.npmjs.org/vite/-/vite-2.2.1.tgz#90c481f69371f32867d86a6a623bb064b876ad3d" - integrity sha512-KIqK90EoJJpuqE86Y9DSkZjFNGgsyZX/4I1xENIitLRd3hgRtOlIGCJYrNnBD9/eqipz0OroAiIj9/R1JcOdFA== +vite@2.1.5: + version "2.1.5" + resolved "https://registry.npmjs.org/vite/-/vite-2.1.5.tgz#4857da441c62f7982c83cbd5f42a00330f20c9c1" + integrity sha512-tYU5iaYeUgQYvK/CNNz3tiJ8vYqPWfCE9IQ7K0iuzYovWw7lzty7KRYGWwV3CQPh0NKxWjOczAqiJsCL0Xb+Og== dependencies: esbuild "^0.9.3" postcss "^8.2.1"