Skip to content
Snippets Groups Projects
Unverified Commit f97e2dee authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

CI GitHub Actions: Cache JARs for Shadow CLJS (#16965)

Some front-end tasks require Shadow CLJS to compile files into
JavaScript, therefore let's cache the JARs which it needs.
parent c04e9a63
Branches
Tags
No related merge requests found
......@@ -49,6 +49,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get M2 cache
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-cljs-${{ hashFiles('**/shadow-cljs.edn') }}
- name: Get yarn cache
uses: actions/cache@v2
with:
......@@ -85,6 +90,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get M2 cache
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-cljs-${{ hashFiles('**/shadow-cljs.edn') }}
- name: Get yarn cache
uses: actions/cache@v2
with:
......@@ -103,6 +113,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Get M2 cache
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-cljs-${{ hashFiles('**/shadow-cljs.edn') }}
- name: Get yarn cache
uses: actions/cache@v2
with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment