From 4023dc22650c95b77ef4b9e31b8b0d3897ccce9f Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 18 Jun 2024 12:46:12 +1000 Subject: [PATCH] Cache yarn dependencies I don't know what this actually does, because it doesn't install the dependencies, that still needs to happen next. But surely any cache is a good thing? --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66f7d5a3cc..03d98ef5e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,6 +59,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .node-version + cache: yarn - name: Install JS dependencies run: yarn install --frozen-lockfile @@ -185,6 +186,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .node-version + cache: yarn - name: Install JS dependencies run: yarn install --frozen-lockfile @@ -262,6 +264,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .node-version + cache: yarn - name: Install JS dependencies run: yarn install --frozen-lockfile @@ -340,6 +343,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .node-version + cache: yarn - name: Install JS dependencies run: yarn install --frozen-lockfile @@ -418,6 +422,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .node-version + cache: yarn - name: Install JS dependencies run: yarn install --frozen-lockfile @@ -470,6 +475,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version-file: .node-version + cache: yarn - name: Install JS dependencies run: yarn install --frozen-lockfile