Skip to content

debug state

debug state #1058

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
ci:
name: 🔄 CI Workflow
runs-on: [ubuntu-latest]
strategy:
matrix:
mongodb_version: ['6.0']
redis-version: [7.2.4]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-node@v4
with:
node-version: 22.x
- uses: pnpm/action-setup@v4
- name: setup pnpm store cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- uses: supercharge/mongodb-github-action@1.11.0
with:
mongodb-version: ${{ matrix.mongodb_version }}
- uses: supercharge/redis-github-action@1.8.0
with:
redis-version: ${{ matrix.redis-version }}
- name: 📦 Install dependencies
run: pnpm i
- name: 🛠 Build
run: pnpm build
- name: 💪 Lint
run: pnpm lint
- name: 💼 Type Check
run: pnpm tsc
- name: 🧪 Test
env:
CI: true
run: pnpm test