[ci] turn off ava cache (#138)
Some checks failed
CodeQL / Analyze (push) Has been cancelled

it can cause permissions issues
This commit is contained in:
Philip Peterson 2025-04-28 00:45:46 -07:00 committed by GitHub
parent f432f61964
commit e46ef31d88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -79,8 +79,6 @@ jobs:
env: env:
NODE_VERSION: ${{ env.NODE_VERSION }} NODE_VERSION: ${{ env.NODE_VERSION }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Due to permissions issues, Windows needs cache turned off
AVA_CACHE: false
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
matrix-os: windows-latest matrix-os: windows-latest

View file

@ -69,8 +69,6 @@ jobs:
env: env:
NODE_VERSION: ${{ env.NODE_VERSION }} NODE_VERSION: ${{ env.NODE_VERSION }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Due to permissions issues, Windows needs cache turned off
AVA_CACHE: false
with: with:
node-version: ${{ env.NODE_VERSION }} node-version: ${{ env.NODE_VERSION }}
matrix-os: windows-latest matrix-os: windows-latest

View file

@ -2,5 +2,7 @@ module.exports = {
files: ['test/*'], files: ['test/*'],
extensions: ['ts'], extensions: ['ts'],
require: ['ts-node/register/transpile-only'], require: ['ts-node/register/transpile-only'],
timeout: '2m' timeout: '2m',
// Due to permissions issues, Windows needs cache turned off
cache: false
}; };

View file

@ -1,5 +1,7 @@
module.exports = { module.exports = {
files: ['test/unit/*'], files: ['test/unit/*'],
extensions: ['ts'], 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
}; };