Skip to content

Commit a8e6516

Browse files
committed
react-scriptsのやつと競合(?)していた
1 parent c8cee6f commit a8e6516

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,17 @@ jobs:
8383
path: |
8484
~/.cache/Cypress
8585
./atcoder-problems-frontend/node_modules
86-
.eslintcache
8786
key: ${{ runner.os }}-cargo-${{ hashFiles('atcoder-problems-frontend/yarn.lock') }}
8887

88+
- name: Cache eslint
89+
uses: actions/cache@v3.2.3
90+
with:
91+
path: |
92+
./atcoder-problems-frontend/.eslintcache-ci
93+
./atcoder-problems-frontend/.eslintcache
94+
key: eslint-${{github.ref_name}}-${{github.sha}}
95+
restore-keys: eslint-${{github.ref_name}}-
96+
8997
- name: Install dependencies
9098
run: yarn
9199

@@ -99,7 +107,7 @@ jobs:
99107
- name: test
100108
run: yarn test
101109
- name: lint
102-
run: yarn lint --cache-strategy content
110+
run: yarn lint --cache-strategy content --cache-location .eslintcache-ci
103111
- name: Integration test
104112
run: |
105113
yarn prepare-ci

0 commit comments

Comments
 (0)