Skip to content

chore(deps-dev): bump the dev-deps group across 1 directory with 12 updates #87

chore(deps-dev): bump the dev-deps group across 1 directory with 12 updates

chore(deps-dev): bump the dev-deps group across 1 directory with 12 updates #87

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
statuses: write # required for vercel/repository-dispatch status action to post commit status
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Node and pnpm
uses: ./.github/actions/setup-pnpm
with:
node-version: "20"
- name: Restore Turbo cache
uses: ./.github/actions/turbo-cache
- name: Install dependencies
uses: ./.github/actions/install-deps
# Optional: set TURBO_TOKEN and TURBO_TEAM for Vercel Remote Cache
# env:
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ vars.TURBO_TEAM }}
- name: Lint, typecheck, test, build
run: pnpm exec turbo run lint typecheck test build
- name: Notify Vercel
if: always() && github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: vercel/repository-dispatch/actions/status@v1
with:
name: "Vercel - souls-directory: lint"
- name: Save Turbo cache
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ hashFiles('pnpm-lock.yaml', 'turbo.json') }}
restore-keys: |
${{ runner.os }}-turbo-
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: ci
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node and pnpm
uses: ./.github/actions/setup-pnpm
with:
node-version: "20"
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Deploy Convex
working-directory: apps/web
run: npx convex deploy --typecheck=disable --yes
env:
CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}