diff --git a/.github/workflows/size-check.yml b/.github/workflows/size-check.yml index eab17643ce73ca41e10746ce06d65f49a3293634..758621fe78df05f51925d747272592cdf8873646 100644 --- a/.github/workflows/size-check.yml +++ b/.github/workflows/size-check.yml @@ -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- diff --git a/rollup.config.js b/rollup.config.js index e414850fe17da5de00989708651ddcca185fa0f0..2e3a0fd9eb1d9a0e412a1be9bafc1ed0778a0412 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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: {