mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
fix: flag only usernames through the moderation rule (#1188)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: GraphQL Schema
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
graphql:
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.5'
|
||||
tools: dom, curl, libxml, mbstring, zip, pcntl, pdo
|
||||
- uses: actions/checkout@v3
|
||||
- name: Copy .env
|
||||
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
||||
- name: Directory Permissions
|
||||
run: chmod -R 777 storage bootstrap/cache
|
||||
- name: Validate GraphQL Schema via Lighthouse
|
||||
run: |
|
||||
php artisan lighthouse:validate-schema
|
||||
Reference in New Issue
Block a user