mirror of
https://github.com/actions/setup-node
synced 2025-05-07 07:33:55 +00:00
Fix npm compatibility
This commit is contained in:
parent
38d90ce44d
commit
dd49aa4984
@ -12,7 +12,7 @@ export interface PackageManagerInfo {
|
|||||||
|
|
||||||
export const supportedPackageManagers: SupportedPackageManagers = {
|
export const supportedPackageManagers: SupportedPackageManagers = {
|
||||||
npm: {
|
npm: {
|
||||||
lockFilePatterns: ['package-lock.json', 'yarn.lock'],
|
lockFilePatterns: ['package-lock.json', 'npm-shrinkwrap.json'],
|
||||||
getCacheFolderCommand: 'npm config get cache'
|
getCacheFolderCommand: 'npm config get cache'
|
||||||
},
|
},
|
||||||
yarn1: {
|
yarn1: {
|
||||||
|
Loading…
Reference in New Issue
Block a user