Skip to content

chore(deps): update dependency @biomejs/biome to v2.1.2 (#179) #244

chore(deps): update dependency @biomejs/biome to v2.1.2 (#179)

chore(deps): update dependency @biomejs/biome to v2.1.2 (#179) #244

Workflow file for this run

name: Bun test
on:
push:
branches:
- main
pull_request:
jobs:
bun-test:
runs-on: ubuntu-latest
env:
NODE_ENV: test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
- run: docker compose up minio -d
- run: timeout 60s bash -c 'until curl -s http://localhost:9000/minio/health/ready; do sleep 1; done'
- name: Create bucket
run: |
aws --endpoint-url http://localhost:9000 \
--no-verify-ssl \
s3 mb s3://my-first-bucket \
--region us-east-1
env:
AWS_ACCESS_KEY_ID: minioadmin
AWS_SECRET_ACCESS_KEY: minioadminpw
AWS_EC2_METADATA_DISABLED: true
# install and test
- run: bun install
- run: bun test
# teardown
## nothing
services:
redis:
image: redis@sha256:a1e0a3b3a6cedd74d8ba44805b2497b93851a296f08a44962fedc03f1c490b47
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5