changed the action to use cache #19

Merged
bizcochito merged 30 commits from testing into develop 2024-01-06 18:57:41 +00:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 30d8ff2ec9 - Show all commits

View File

@ -12,10 +12,10 @@ jobs:
- 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 --ignore-scripts
run: yarn install --ignore-scripts
- name: Run docker-compose
run: docker compose down -v && docker compose run bot-api bun test

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"