Skip to content

Commit ccb2f87

Browse files
committed
init
0 parents  commit ccb2f87

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

action.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "Setup pnpm"
2+
description: "Installs node deps with pnpm"
3+
4+
inputs:
5+
node-version:
6+
description: node version
7+
required: false
8+
default: "18"
9+
pnpm-version:
10+
description: pnpm version
11+
required: false
12+
default: "7"
13+
14+
runs:
15+
using: "composite"
16+
steps:
17+
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd
18+
with:
19+
version: ${{ inputs.pnpm-version }}
20+
- uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ inputs.node-version }}
23+
cache: "pnpm"
24+
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
25+
shell: bash

0 commit comments

Comments
 (0)