[ci] Try to cache node_modules to speed up ci
Lauren Tan committed
Aug 16, 2023 at 11:04 UTC
a59e15d40fc0c9e61d194a9f15592d36c648b4cf
1 file changed
+5
compiler/.github/workflows/ci.yml
+5
@@ -15,6 +15,11 @@ jobs:
15
node-version: 18.x
16
cache: "yarn"
17
cache-dependency-path: forget/yarn.lock
18
+ - name: cache node_modules
19
+ uses: actions/cache@v3
20
+ with:
21
+ path: "**/node_modules"
22
+ key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
23
- run: yarn install --frozen-lockfile
24
working-directory: forget
25
- run: yarn build