Commit 2b609618 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: use ignore-path for craco eslint (#6372)

* build: add caching to eslint

* build: add caching to jest

* build: add caching to tsc

* build: add caching to actions

* fix: upgrade upload-artifact to v3

* build: update craco eslint cacheLocation

* build: use ignore-path for craco eslint
parent aed969f3
*.config.ts
*.d.ts
/src/graphql/data/__generated__/types-and-hooks.ts
/src/graphql/thegraph/__generated__/types-and-hooks.ts
/src/schema/schema.graphql
...@@ -10,7 +10,6 @@ runs: ...@@ -10,7 +10,6 @@ runs:
with: with:
node-version: 14 node-version: 14
registry-url: https://registry.npmjs.org registry-url: https://registry.npmjs.org
cache: yarn
# node_modules/.cache is intentionally omitted, as this is used for build tool caches. # node_modules/.cache is intentionally omitted, as this is used for build tool caches.
- uses: actions/cache@v3 - uses: actions/cache@v3
......
...@@ -29,6 +29,7 @@ module.exports = { ...@@ -29,6 +29,7 @@ module.exports = {
return Object.assign(eslintConfig, { return Object.assign(eslintConfig, {
cache: true, cache: true,
cacheLocation: 'node_modules/.cache/eslint/', cacheLocation: 'node_modules/.cache/eslint/',
ignorePath: '.gitignore',
}) })
}, },
}, },
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"downlevelIteration": true, "downlevelIteration": true,
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "react-jsx", "jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ESNext"], "lib": ["DOM", "DOM.Iterable", "ESNext"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment