Skip to content

Commit a3279f4

Browse files
committed
ci (eslint-e2e): exclude nested node_modules from cache
This change removes the nested fixture node_modules from being cached, so that the symbolic link can be made after the build happens.
1 parent 077a4b0 commit a3279f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/runtime_eslint_plugin_e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
uses: actions/cache@v4
4141
id: node_modules
4242
with:
43-
path: "**/node_modules"
43+
path: "node_modules"
4444
key: runtime-eslint_e2e-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
4545
- name: Ensure clean build directory
4646
run: rm -rf build
47-
- run: yarn install --frozen-lockfile
47+
- run: yarn install
4848
- name: Build plugin
4949
working-directory: fixtures/eslint-v${{ matrix.eslint_major }}
5050
run: node build.mjs

0 commit comments

Comments
 (0)