name: CI/CD to Render (dev) on: push: branches: - dev jobs: test-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Use Node.js 22 uses: actions/setup-node@v4 with: node-version: 22 cache: 'npm' - name: Install dependencies (npm ci) run: npm ci - name: Trigger Render deploy if: success() run: curl "$RENDER_DEPLOY_HOOK_URL" env: RENDER_DEPLOY_HOOK_URL: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}