nrwl / nx-cloud-workflows

MIT License
8 stars 6 forks source link

Support for bun #57

Open cskiwi opened 3 months ago

cskiwi commented 3 months ago

hi,

Currently you can't use bun with the default agents. So we have to disable the agents and run everything on github actions for now.

Would be nice to see this supported :)

Greetings Glenn

yjaaidi commented 3 months ago

Hi Glenn, meanwhile, you could use a custom launch template like this one: https://github.com/marmicode/cookbook/blob/main/.nx/workflows/bun.yaml

cskiwi commented 2 months ago

Thanks, I tried it but got the following error:

1    /tmp/102857006:5978
2        throw new Error("No cache restore key or paths provided.");
3        ^
4    
5    Error: No cache restore key or paths provided.
6        at Object.<anonymous> (/tmp/102857006:5978:11)
7        at Module._compile (node:internal/modules/cjs/loader:1376:14)
8        at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
9        at Module.load (node:internal/modules/cjs/loader:1207:32)
10       at Module._load (node:internal/modules/cjs/loader:1023:12)
11       at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
12       at node:internal/main/run_main_module:28:49
13   
14   Node.js v20.11.1