From e46ef31d88ffc0de052c02678036ca7433adb83d Mon Sep 17 00:00:00 2001 From: Philip Peterson Date: Mon, 28 Apr 2025 00:45:46 -0700 Subject: [PATCH] [ci] turn off ava cache (#138) it can cause permissions issues --- .github/workflows/ci.yml | 2 -- .github/workflows/release.yml | 2 -- ava-e2e.config.js | 4 +++- ava.config.js | 4 +++- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8c6f7f6..29fd960f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,8 +79,6 @@ jobs: env: NODE_VERSION: ${{ env.NODE_VERSION }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Due to permissions issues, Windows needs cache turned off - AVA_CACHE: false with: node-version: ${{ env.NODE_VERSION }} matrix-os: windows-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f38f81c8..d1b9f1c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,8 +69,6 @@ jobs: env: NODE_VERSION: ${{ env.NODE_VERSION }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Due to permissions issues, Windows needs cache turned off - AVA_CACHE: false with: node-version: ${{ env.NODE_VERSION }} matrix-os: windows-latest diff --git a/ava-e2e.config.js b/ava-e2e.config.js index 5cf269b8..faec9784 100644 --- a/ava-e2e.config.js +++ b/ava-e2e.config.js @@ -2,5 +2,7 @@ module.exports = { files: ['test/*'], extensions: ['ts'], require: ['ts-node/register/transpile-only'], - timeout: '2m' + timeout: '2m', + // Due to permissions issues, Windows needs cache turned off + cache: false }; diff --git a/ava.config.js b/ava.config.js index a0237585..94315abb 100644 --- a/ava.config.js +++ b/ava.config.js @@ -1,5 +1,7 @@ module.exports = { files: ['test/unit/*'], extensions: ['ts'], - require: ['ts-node/register/transpile-only'] + require: ['ts-node/register/transpile-only'], + // Due to permissions issues, Windows needs cache turned off + cache: false };