Add some dependencies for uploading artifacts

This commit is contained in:
Edoardo Pirovano 2021-05-24 17:26:13 +01:00 committed by Edoardo Pirovano
parent 1d05ad7576
commit 0cbd4b56d3
111 changed files with 9299 additions and 3597 deletions

31
node_modules/tmp-promise/index.test-d.ts generated vendored Normal file
View file

@ -0,0 +1,31 @@
import { file, withFile, dir, withDir, tmpName } from ".";
async function fileExample() {
const { path, fd, cleanup } = await file({ discardDescriptor: true });
await cleanup();
await withFile(
async ({ path, fd, cleanup }) => {
console.log(fd);
await cleanup();
},
{ discardDescriptor: true }
);
}
async function dirExample() {
const { path, cleanup } = await dir({ unsafeCleanup: true });
await cleanup();
await withDir(
async ({ path, cleanup }) => {
console.log(path);
await cleanup();
},
{ unsafeCleanup: true }
);
}
async function tmpNameExample() {
const name = await tmpName({ tries: 3 });
}