@@ -33,16 +33,18 @@ jobs:
3333 run : |
3434 sed -i '28,127d' README.md
3535
36+ - name : Use pnpm ${{ env.PNPM_VERSION }}
37+ uses : pnpm/action-setup@v4
38+ with :
39+ version : ${{ env.PNPM_VERSION }}
40+ run_install : false
41+
3642 - name : Use Node.js ${{ env.NODE_VERSION }}
3743 uses : actions/setup-node@v4
3844 with :
3945 node-version : ${{ env.NODE_VERSION }}
40-
41- - name : Cache node_modules
42- uses : actions/cache@v4
43- with :
44- path : node_modules
45- key : ${{ runner.os }}}-${{ env.NODE_VERSION }}-node_modules-${{ hashFiles('package.json') }}
46+ cache : pnpm
47+ cache-dependency-path : ' package.json'
4648
4749 - name : Install dependencies
4850 run : npm run clean-install
@@ -80,16 +82,20 @@ jobs:
8082 run : |
8183 sed -i 's/file:..\/..\//rc/g' package.json
8284
85+ - name : Use pnpm ${{ env.PNPM_VERSION }}
86+ uses : pnpm/action-setup@v4
87+ with :
88+ version : ${{ env.PNPM_VERSION }}
89+ run_install : false
90+
8391 - name : Use Node.js ${{ env.NODE_VERSION }}
8492 uses : actions/setup-node@v4
8593 with :
8694 node-version : ${{ env.NODE_VERSION }}
95+ cache : pnpm
8796
88- - name : Cache node_modules
89- uses : actions/cache@v4
90- with :
91- path : node_modules
92- key : ${{ runner.os }}}-${{ env.NODE_VERSION }}-node_modules-${{ hashFiles('package.json') }}
97+ - name : Install dependencies
98+ run : pnpm run clean && pnpm add ./alpine-typescript
9399
94100 - name : Install dependencies
95101 run : npm run clean-install
0 commit comments