aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-19 20:17:56 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-11-20 03:00:38 +0100
commit40ebe0088bc97f644889d915b0524b49d4a21e4c (patch)
tree3d8a22d8f36634e3ac678f83600d9f443b47bc90 /.github/workflows/build.yml
parentbuild: fix cross-project group and version config (diff)
downloadrefinery-40ebe0088bc97f644889d915b0524b49d4a21e4c.tar.gz
refinery-40ebe0088bc97f644889d915b0524b49d4a21e4c.tar.zst
refinery-40ebe0088bc97f644889d915b0524b49d4a21e4c.zip
build: upgrade to yarn 3
Also upgrades various frontend dependencies. We can't upgrade to typescript 4.5 yet, because https://github.com/yarnpkg/berry/pull/3760 is not released yet.
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1fa16a43..5c2893a9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,9 +23,7 @@ jobs:
23 with: 23 with:
24 path: | 24 path: |
25 ~/.gradle/caches 25 ~/.gradle/caches
26 .gradle/node 26 key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle', 'gradle.properties', 'gradle/libs.versions.toml', 'gradle/wrapper/gradle-wrapper.properties') }}
27 .gradle/yarn
28 key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
29 restore-keys: ${{ runner.os }}-gradle 27 restore-keys: ${{ runner.os }}-gradle
30 - name: Cache Sonar packages 28 - name: Cache Sonar packages
31 uses: actions/cache@v2 29 uses: actions/cache@v2
@@ -37,7 +35,14 @@ jobs:
37 uses: actions/cache@v2 35 uses: actions/cache@v2
38 with: 36 with:
39 path: | 37 path: |
40 **/node_modules 38 **/.node
39 key: ${{ runner.os }}-node-${{ hashFiles('gradle.properties') }}
40 restore-keys: ${{ runner.os }}-node
41 - name: Cache yarn packages
42 uses: actions/cache@v2
43 with:
44 path: |
45 **/.yarn/cache
41 key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} 46 key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
42 restore-keys: ${{ runner.os }}-yarn 47 restore-keys: ${{ runner.os }}-yarn
43 - name: Gradle build and Sonar analyze 48 - name: Gradle build and Sonar analyze