File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 9696 run : chmod -R 777 storage bootstrap/cache
9797
9898 # Run npm tests
99+ - uses : pnpm/action-setup@v2
100+ name : Install pnpm
101+ id : pnpm-install
102+ with :
103+ version : 7
104+ run_install : false
105+
106+ - name : Get pnpm store directory
107+ id : pnpm-cache
108+ shell : bash
109+ run : |
110+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
111+
112+ - uses : actions/cache@v3
113+ name : Setup pnpm cache
114+ with :
115+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
116+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
117+ restore-keys : |
118+ ${{ runner.os }}-pnpm-store-
119+
99120 - name : Build and Test Node Packages
100121 run : |
101- pnpm i
122+ pnpm install
102123 npm run build
103124
104125 # Run php tests
You can’t perform that action at this time.
0 commit comments