Skip to content

docs: replace README stub with a real ngrok how-to for staging webhooks #17

docs: replace README stub with a real ngrok how-to for staging webhooks

docs: replace README stub with a real ngrok how-to for staging webhooks #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
lint:
name: Pint (lint)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
extensions: openssl, mbstring, pdo_sqlite, zip
coverage: none
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist
- name: Run Pint
run: vendor/bin/pint --test
test:
name: PHPUnit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
extensions: openssl, mbstring, pdo_sqlite, zip
coverage: none
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist
- name: Prepare environment
run: |
cp .env.example .env
php artisan key:generate
- name: Run test suite
run: composer test
docker-build:
name: Docker build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build production target
uses: docker/build-push-action@v6
with:
context: .
target: production
push: false
cache-from: type=gha
cache-to: type=gha,mode=max