abetomo commented on code in PR #36373:
URL: https://github.com/apache/arrow/pull/36373#discussion_r1247254693
##########
.github/workflows/js.yml:
##########
@@ -90,6 +90,14 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
+ - name: Jest Cache
+ uses: actions/cache@v3
+ with:
+ path: js/.jest-cache
+ key: js-jest-cache-${{ runner.os }}-${{ matrix.node-version }}-${{
hashFiles('js/yarn.lock') }}
+ restore-keys: |
+ js-jest-cache-${{ runner.os }}-${{ matrix.node-version }}-
+ js-jest-cache-${{ runner.os }}-
Review Comment:
The cache is reused even if different Node.js versions are used.
I have confirmed this by switching Node.js versions locally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]