Add pnpm caching support

This commit is contained in:
Jacob Gillespie
2021-06-30 16:44:51 +01:00
parent 38d90ce44d
commit 162ddf7c40
11 changed files with 531 additions and 14 deletions

View File

@ -20,7 +20,7 @@ inputs:
description: Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user.
default: ${{ github.token }}
cache:
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, yarn'
description: 'Used to specify a package manager for caching in the default directory. Supported values: npm, pnpm, yarn'
# TODO: add input to control forcing to pull from cloud or dist.
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
# Deprecated option, do not use. Will not be supported after October 1, 2019