Bladeren bron

fix(CI): Fix server setup in cypress by overwriting all files in shallow-server

Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling 9 maanden geleden
bovenliggende
commit
ae54cc05aa
1 gewijzigde bestanden met toevoegingen van 14 en 0 verwijderingen
  1. 14 0
      cypress/dockerNode.ts

+ 14 - 0
cypress/dockerNode.ts

@@ -143,8 +143,22 @@ export const applyChangesToNextcloud = async function() {
 		'./dist',
 		'./lib',
 		'./ocs',
+		'./ocs-provider',
+		'./resources',
+		'./console.php',
+		'./cron.php',
+		'./index.php',
+		'./occ',
+		'./public.php',
+		'./remote.php',
+		'./status.php',
+		'./version.php',
 	]
 
+	folderPaths.forEach((path) => {
+		console.log(`├─ Copying ${path}`)
+	})
+
 	// Tar-streaming the above folders into the container
 	const serverTar = tar.c({ gzip: false }, folderPaths)
 	await container.putArchive(serverTar, {