提交 a442d7e4 编写于 作者: fxy060608's avatar fxy060608

chore(workflows): ignore type check

上级 f563e3f1
......@@ -30,7 +30,9 @@ jobs:
- name: Cache Cypress binary
uses: actions/cache@v2
with:
path: ~/.cache/Cypress
path: |
~/.cache/Cypress
~/Library/Caches/Cypress
key: ${{ runner.os }}-cypress-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-cypress-
......
......@@ -48,7 +48,8 @@ function createConfig(entryFile, output, plugins = []) {
const shouldEmitDeclarations = process.env.TYPES != null && !hasTSChecked
const tsPlugin = ts({
check: process.env.NODE_ENV === 'production' && !hasTSChecked,
check:
!process.env.CI && process.env.NODE_ENV === 'production' && !hasTSChecked,
tsconfig: path.resolve(__dirname, 'tsconfig.json'),
cacheRoot: path.resolve(__dirname, 'node_modules/.rts2_cache'),
tsconfigOverride: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册