Skip to content

Commit 4697724

Browse files
committed
ふーむ
1 parent a8e6516 commit 4697724

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,15 @@ jobs:
8585
./atcoder-problems-frontend/node_modules
8686
key: ${{ runner.os }}-cargo-${{ hashFiles('atcoder-problems-frontend/yarn.lock') }}
8787

88-
- name: Cache eslint
88+
- name: Cache eslint, prettier
8989
uses: actions/[email protected]
9090
with:
9191
path: |
92-
./atcoder-problems-frontend/.eslintcache-ci
93-
./atcoder-problems-frontend/.eslintcache
92+
./atcoder-problems-frontend/node_modules/.cache
9493
key: eslint-${{github.ref_name}}-${{github.sha}}
95-
restore-keys: eslint-${{github.ref_name}}-
94+
restore-keys: |
95+
eslint-${{github.ref_name}}-
96+
eslint-
9697
9798
- name: Install dependencies
9899
run: yarn
@@ -107,7 +108,7 @@ jobs:
107108
- name: test
108109
run: yarn test
109110
- name: lint
110-
run: yarn lint --cache-strategy content --cache-location .eslintcache-ci
111+
run: yarn lint --cache-strategy content --cache-location ./node_modules/.cache/eslint/.eslint-cache
111112
- name: Integration test
112113
run: |
113114
yarn prepare-ci

0 commit comments

Comments
 (0)