Skip to content

refactor(): migrate to Turborepo monorepo structure #90

refactor(): migrate to Turborepo monorepo structure

refactor(): migrate to Turborepo monorepo structure #90

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Run claim-db-worker tests
run: pnpm turbo run test --filter=./apps/claim-db-worker...
env:
NODE_ENV: test
- name: Run create-db-worker tests
run: pnpm turbo run test --filter=./apps/create-db-worker...
env:
NODE_ENV: test
- name: Run create-db tests
run: pnpm turbo run test --filter=./packages/create-db...
env:
NODE_ENV: test
CREATE_DB_WORKER_URL: ${{ secrets.CREATE_DB_WORKER_URL }}
CLAIM_DB_WORKER_URL: ${{ secrets.CLAIM_DB_WORKER_URL }}