File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,22 @@ jobs:
1717 with :
1818 node-version : 16
1919 registry-url : " https://registry.npmjs.org"
20- cache : yarn
20+
21+ - name : Cache pnpm modules
22+ uses : actions/cache@v2
23+ with :
24+ path : ~/.pnpm-store
25+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
26+ restore-keys : |
27+ ${{ runner.os }}-
28+
29+ - name : Install pnpm
30+ uses : pnpm/action-setup@v2.1.0
31+ with :
32+ version : 6.0.2
2133
2234 - name : Install dependencies
23- run : yarn install
35+ run : pnpm i
2436
2537 - name : Compile
2638 run : tsc
Original file line number Diff line number Diff line change @@ -14,10 +14,22 @@ jobs:
1414 uses : actions/setup-node@v3.0.0
1515 with :
1616 node-version : 16
17- cache : yarn
17+
18+ - name : Cache pnpm modules
19+ uses : actions/cache@v2
20+ with :
21+ path : ~/.pnpm-store
22+ key : ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
23+ restore-keys : |
24+ ${{ runner.os }}-
25+
26+ - name : Install pnpm
27+ uses : pnpm/action-setup@v2.1.0
28+ with :
29+ version : 6.0.2
1830
1931 - name : Install dependencies
20- run : yarn install
32+ run : pnpm i
2133
2234 - name : Test package
2335 run : tsc
You can’t perform that action at this time.
0 commit comments