Openstatus www.openstatus.dev
at 4c0f4c00a38753a5d0dfd7e7b7b7706dec6f1503 52 lines 1.2 kB view raw
1# https://github.com/kentcdodds/kentcdodds.com/blob/main/.github/workflows/deployment.yml 2name: DX Check 3on: 4 push: 5 branches: 6 - "main" 7 pull_request: 8 branches: [main] 9 10jobs: 11 dx: 12 name: 🧑‍💻 DX checker 13 runs-on: ubuntu-latest 14 timeout-minutes: 15 15 services: 16 sqld: 17 image: ghcr.io/tursodatabase/libsql-server:latest 18 ports: 19 - 8080:8080 20 # env: 21 # SQLD_HTTP_AUTH: "basic:token" 22 23 env: 24 TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} 25 TURBO_TEAM: ${{ secrets.TURBO_TEAM }} 26 DATABASE_URL: http://127.0.0.1:8080 27 DATABASE_AUTH_TOKEN: "basic:token" 28 steps: 29 - name: ⬇️ Checkout repo 30 uses: actions/checkout@v4 31 32 - name: Set up pnpm 33 uses: pnpm/action-setup@v4 34 with: 35 version: 10.26.0 36 37 - name: ⎔ Setup node 38 uses: actions/setup-node@v4 39 with: 40 node-version: 20 41 cache: "pnpm" 42 43 - name: 📥 Download deps 44 run: pnpm install 45 46 - name: 🔥 Install bun 47 uses: oven-sh/setup-bun@v2 48 with: 49 bun-version: latest 50 51 - name: 🔥 DX task 52 run: pnpm dx