提交 8771d8af 作者: Vben

chore: update workflows

上级 2543d040
...@@ -25,17 +25,17 @@ jobs: ...@@ -25,17 +25,17 @@ jobs:
with: with:
node-version: '14.x' node-version: '14.x'
- name: Get yarn cache # - name: Get yarn cache
id: yarn-cache # id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)" # run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies # - name: Cache dependencies
uses: actions/cache@v2 # uses: actions/cache@v2
with: # with:
path: ${{ steps.yarn-cache.outputs.dir }} # path: ${{ steps.yarn-cache.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: Build - name: Build
run: | run: |
......
...@@ -7,8 +7,7 @@ import type { ViteEnv } from '../../utils'; ...@@ -7,8 +7,7 @@ import type { ViteEnv } from '../../utils';
import html from 'vite-plugin-html'; import html from 'vite-plugin-html';
const pkg = require('../../../package.json'); import pkg from '../../../package.json';
// import pkg from '../../../package.json';
import { GLOB_CONFIG_FILE_NAME } from '../../constant'; import { GLOB_CONFIG_FILE_NAME } from '../../constant';
export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) { export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论