Skip to content

chore(deps): bump fastify from 5.11.0 to 5.11.2 #153

chore(deps): bump fastify from 5.11.0 to 5.11.2

chore(deps): bump fastify from 5.11.0 to 5.11.2 #153

Workflow file for this run

name: E2E
on:
pull_request:
workflow_dispatch:
jobs:
e2e:
if: "!contains(github.event.pull_request.title, 'WIP!')"
runs-on: ubuntu-latest
env:
DB_URL: http://localhost:5984
DB_USERNAME: admin
DB_PASSWORD: password
S3_ENDPOINT_URL: http://localhost:9000
S3_BUCKET: tams
AWS_ACCESS_KEY_ID: minioadmin
AWS_SECRET_ACCESS_KEY: minioadmin
AWS_REGION: eu-north-1
AWS_DEFAULT_REGION: eu-north-1
API_TOKEN: e2e-token
PORT: '8000'
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: '20.x'
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Start CouchDB
run: docker run -d --name couchdb -p 5984:5984 -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password couchdb:3
- name: Start MinIO
run: docker run -d --name minio -p 9000:9000 -e MINIO_ROOT_USER=minioadmin -e MINIO_ROOT_PASSWORD=minioadmin minio/minio server /data
- name: Wait for services
run: |
for i in $(seq 1 30); do curl -sf http://localhost:5984/ >/dev/null && break || sleep 2; done
for i in $(seq 1 30); do curl -sf http://localhost:9000/minio/health/live >/dev/null && break || sleep 2; done
- name: Create bucket
run: aws --endpoint-url http://localhost:9000 s3 mb s3://tams
- name: Start gateway
run: |
pnpm start &
for i in $(seq 1 30); do curl -sf http://localhost:8000/readiness >/dev/null && break || sleep 2; done
- name: Run e2e smoke test
run: node scripts/e2e.mjs