File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,21 @@ jobs:
2020 fetch-depth : 0
2121
2222 - name : Install pnpm
23- uses : pnpm/action-setup@v4.0.0
23+ uses : pnpm/action-setup@v4
2424 with :
25- version : 8
25+ version : 9
26+ run_install : false
2627
2728 - name : Set up Node
2829 uses : actions/setup-node@v4
2930 with :
3031 node-version : lts/*
3132 cache : ' pnpm'
3233
34+ - name : Setup pnpm config
35+ shell : bash
36+ run : pnpm config set store-dir ~/.pnpm-store
37+
3338 - name : Install dependencies
3439 run : pnpm install
3540
Original file line number Diff line number Diff line change 1+ set -e
2+
3+ if git diff --name-only HEAD@{1} HEAD | grep --silent '^pnpm-lock\.yaml'; then
4+ echo "📦 pnpm-lock.yaml was changed."
5+ echo "Running pnpm install to update your dependencies..."
6+ pnpm install
7+ fi
You can’t perform that action at this time.
0 commit comments