File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
fetch-depth : 0
29
29
30
+ - name : Setup node env 🏗
31
+ uses : actions/setup-node@v3
32
+ with :
33
+ node-version : ${{ matrix.node }}
34
+ check-latest : true
35
+
36
+ - name : Install pnpm 🎒
37
+
38
+ with :
39
+ version : 7
40
+ run_install : false
41
+
42
+ - name : Setup pnpm config 🏗
43
+ run : pnpm config set store-dir $PNPM_CACHE_FOLDER
44
+
45
+ - name : Get pnpm store directory 🏬
46
+ id : pnpm-cache
47
+ shell : bash
48
+ run : |
49
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
50
+
51
+ - name : Setup pnpm cache 🧃
52
+ uses : actions/cache@v3
53
+ with :
54
+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
55
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
56
+ restore-keys : |
57
+ ${{ runner.os }}-pnpm-store-
58
+
59
+ - name : Install dependencies 👨🏻💻
60
+ run : pnpm install
61
+
62
+ - name : Setup Turbo cache 🏎️
63
+ id : turbo-cache
64
+ uses : actions/cache@v2
65
+ with :
66
+ path : .turbo
67
+ key : turbo-${{ runner.os }}-${{ github.sha }}
68
+ restore-keys : |
69
+ turbo-${{ runner.os }}-
70
+
71
+ - name : Build Library 👷
72
+ run : pnpm run build --cache-dir=.turbo
73
+
30
74
- name : Qodana Scan 🔍
31
75
uses : JetBrains/qodana-action@main
32
76
env :
You can’t perform that action at this time.
0 commit comments