File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 11import path from 'path'
22import { fileURLToPath } from 'url'
33import fs from 'node:fs/promises'
4- import { promisify } from 'util'
54import * as github from '@actions/github'
65import { execaCommand } from 'execa'
76
Original file line number Diff line number Diff line change 2626 name : Install pnpm
2727 with :
2828 version : latest
29- run_install : true
29+ run_install : false
30+
31+ - name : Get pnpm store directory
32+ id : pnpm-cache
33+ shell : bash
34+ run : |
35+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36+
37+ - uses : actions/cache@v3
38+ name : Setup pnpm cache
39+ with :
40+ path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
41+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42+ restore-keys : |
43+ ${{ runner.os }}-pnpm-store-
44+
45+ - name : Install dependencies
46+ run : pnpm install
3047
3148 - name : install Rust stable
3249 uses : dtolnay/rust-toolchain@stable
You can’t perform that action at this time.
0 commit comments