Skip to content

Commit b18c04c

Browse files
committed
Write lock-file in pnpm tests
1 parent e3f3e09 commit b18c04c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/groovy/com/github/gradle/node/pnpm/task/PnpmInstall_integTest.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class PnpmInstall_integTest
2222
}
2323
''' )
2424
writeEmptyPackageJson()
25+
writeFile("pnpm-lock.yaml", "lockfileVersion: '6.0'")
2526
2627
when:
2728
def result = build( 'pnpmInstall' )
@@ -65,6 +66,7 @@ class PnpmInstall_integTest
6566
"postinstall" : "pnpm run versionOutput"
6667
}
6768
""")
69+
writeFile("pnpm-lock.yaml", "lockfileVersion: '6.0'")
6870
6971
when:
7072
def result = build( 'pnpmInstall', '--info' )

0 commit comments

Comments
 (0)