initial attempt at IaC and CI/CD

This commit is contained in:
Chris Kruining 2024-11-14 16:22:11 +01:00
parent 597c7e4e0b
commit 820b251c61
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
11 changed files with 355 additions and 1 deletions

33
.vscode/launch.json vendored
View file

@ -4,7 +4,7 @@
{
"type": "bun",
"request": "launch",
"name": "Debug Bun",
"name": "Start dev",
// The path to a JavaScript or TypeScript file to run.
"program": "${file}",
// The arguments to pass to the program, if any.
@ -29,6 +29,37 @@
// Unlike `args`, these are passed to the executable itself, not the program.
"runtimeArgs": [],
},
{
"type": "bun",
"request": "launch",
"name": "Run tests",
// The path to a JavaScript or TypeScript file to run.
"program": "${file}",
// The arguments to pass to the program, if any.
"args": [],
// The working directory of the program.
"cwd": "${workspaceFolder}",
// The environment variables to pass to the program.
"env": {},
// If the environment variables should not be inherited from the parent process.
"strictEnv": false,
// If the program should be run in watch mode.
// This is equivalent to passing `--watch` to the `bun` executable.
// You can also set this to "hot" to enable hot reloading using `--hot`.
"watchMode": false,
// If the debugger should stop on the first line of the program.
"stopOnEntry": false,
// If the debugger should be disabled. (for example, breakpoints will not be hit)
"noDebug": false,
// The path to the `bun` executable, defaults to your `PATH` environment variable.
"runtime": "bun",
// The arguments to pass to the `bun` executable, if any.
// Unlike `args`, these are passed to the executable itself, not the program.
"runtimeArgs": [
"--bun",
"test"
],
},
{
"type": "bun",
"request": "attach",