Skip to content

Action for Github Workflows that installs pnpm install with a cache

License

Notifications You must be signed in to change notification settings

jjs98/pnpm-install-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pnpm-install-action

Action for Github Workflows that installs pnpm install with a cache

How to use in workflow.yml:

name: Build client
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

defaults:
  run:
    working-directory: src/client

jobs:
  build:
    name: Run pnpm Build
    runs-on: ubuntu-latest
    timeout-minutes: 10
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install pnpm
        uses: jjs98/pnpm-install-action@v6
        with:
          directory: src/client

      - name: Build client
        run: pnpm build

About

Action for Github Workflows that installs pnpm install with a cache

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project