mirror of
https://github.com/LucasVbr/fcc-timestamp-microservice.git
synced 2026-05-13 17:21:48 +00:00
feat: Add .gitpod.yml
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
image: gitpod/workspace-bun
|
||||
|
||||
tasks:
|
||||
- name: Init a bun project and run
|
||||
init: |
|
||||
# Init a project if needed
|
||||
if test ! -e package.json; then {
|
||||
bun init -y
|
||||
} fi
|
||||
# Install dependencies
|
||||
bun install
|
||||
|
||||
command: |
|
||||
# Run project
|
||||
bun run index.ts
|
||||
|
||||
ports:
|
||||
- port: 3000
|
||||
onOpen: open-preview
|
||||
Reference in New Issue
Block a user