mirror of
https://gitea.com/actions/setup-node.git
synced 2025-07-03 19:03:11 +08:00
Support npm-shrinkwrap.json out-of-the-box (#439)
This commit is contained in:
@ -13,7 +13,7 @@ export interface PackageManagerInfo {
|
||||
|
||||
export const supportedPackageManagers: SupportedPackageManagers = {
|
||||
npm: {
|
||||
lockFilePatterns: ['package-lock.json', 'yarn.lock'],
|
||||
lockFilePatterns: ['package-lock.json', 'npm-shrinkwrap.json', 'yarn.lock'],
|
||||
getCacheFolderCommand: 'npm config get cache'
|
||||
},
|
||||
pnpm: {
|
||||
|
Reference in New Issue
Block a user