This commit is contained in:
@@ -6,9 +6,13 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Hello
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
echo "Hello from Gitea Runner"
|
|
||||||
uname -a
|
- name: Build
|
||||||
docker --version
|
run: docker build -t bun-test .
|
||||||
|
|
||||||
|
- name: Run
|
||||||
|
run: docker run --rm bun-test
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
FROM oven/bun:1
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY index.ts .
|
||||||
|
|
||||||
|
CMD ["bun", "run", "index.ts"]
|
||||||
@@ -1 +1 @@
|
|||||||
console.log('Hello via Bun!');
|
console.log('Hello from Jimmy the Potato!');
|
||||||
|
|||||||
@@ -8,5 +8,8 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "bun run index.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user