File tree Expand file tree Collapse file tree 1 file changed +51
-2
lines changed
Expand file tree Collapse file tree 1 file changed +51
-2
lines changed Original file line number Diff line number Diff line change 66 - main
77
88jobs :
9+ lint :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
15+
16+ - uses : pnpm/action-setup@v2
17+ name : Install pnpm
18+ id : pnpm-install
19+ with :
20+ version : 7.26.3
21+ run_install : false
22+
23+ - name : Get pnpm store directory
24+ id : pnpm-cache
25+ shell : bash
26+ run : |
27+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
28+
29+ - uses : actions/setup-node@v3
30+ with :
31+ node-version : 16
32+ cache : pnpm
33+
34+ - name : Install Packages
35+ - run : pnpm i --frozen-lockfile
36+
37+ - name : Lint
38+ run : pnpm run lint
39+
40+
941 deploy :
42+ needs : lint
1043 runs-on : ubuntu-latest
1144 steps :
1245 - uses : actions/checkout@v3
1346 with :
1447 fetch-depth : 0
48+
49+ - uses : pnpm/action-setup@v2
50+ name : Install pnpm
51+ id : pnpm-install
52+ with :
53+ version : 7.26.3
54+ run_install : false
55+
56+ - name : Get pnpm store directory
57+ id : pnpm-cache
58+ shell : bash
59+ run : |
60+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
61+
1562 - uses : actions/setup-node@v3
1663 with :
1764 node-version : 16
18- cache : yarn
19- - run : yarn install --frozen-lockfile
65+ cache : pnpm
66+
67+ - name : Install Packages
68+ - run : pnpm i --frozen-lockfile
2069
2170 - name : Build
2271 run : yarn docs:build
You can’t perform that action at this time.
0 commit comments