Skip to content

Commit

Permalink
ci: add setup-pnpm action
Browse files Browse the repository at this point in the history
  • Loading branch information
kotarella1110 committed Aug 7, 2023
1 parent d2181c1 commit 8638684
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/actions/setup-pnpm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Setup pnpm
description: "This is a composite GitHub Action that sets up pnpm, node and installs the project's dependencies."
inputs:
node-version:
description: "Node.js version"
required: true
runs:
using: "composite"
steps:
- uses: pnpm/action-setup@v2
with:
version: 8.5.1
- uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
shell: bash

0 comments on commit 8638684

Please sign in to comment.