v1.0.0 #28

Merged
bizcochito merged 147 commits from develop into main 2024-01-14 19:49:34 +00:00
5 changed files with 3065 additions and 6 deletions
Showing only changes of commit cf03c90c46 - Show all commits

View File

@ -5,14 +5,18 @@ jobs:
unit-test:
container:
image: docker:dind
volumes:
- /usr/local/share/.cache/yarn:/usr/local/share/.cache/yarn
- /var/lib/docker/image:/var/lib/docker/image
- /var/lib/docker/overlay2:/var/lib/docker/overlay2
steps:
- name: Starting docker daemon
run: docker-init -- dockerd --host=unix:///var/run/docker.sock &
- name: Installing necessary packages
run: apk add npm git curl bash
run: apk add yarn git curl bash
- name: Check out repository code
uses: actions/checkout@v3
- name: Install project dependencies
run: npm install
run: yarn install --frozen-lockfile --ignore-scripts
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test

View File

@ -37,13 +37,12 @@ bun install
To run:
```bash
docker compose up
bun run dev
```
For testing, remember:
```bash
docker compose down -v
docker compose run bot-api bun run test
bun run test
```
This project was created using `bun init` in bun v1.0.13. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

4
bunfig.toml Normal file
View File

@ -0,0 +1,4 @@
[install.lockfile]
# whether to save a non-Bun lockfile alongside bun.lockb
# only "yarn" is supported
print = "yarn"

View File

@ -1,5 +1,5 @@
{
"name": "fib-api",
"name": "bot-api",
"module": "index.ts",
"type": "module",
"devDependencies": {

3052
yarn.lock Normal file

File diff suppressed because it is too large Load Diff