Contact Management Improvements #155
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| code-standards-checks: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/loadpartner/tms:image-base | |
| steps: | |
| - 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: Install NPM Dependencies | |
| run: npm install | |
| - name: Generate Application Key | |
| run: php artisan key:generate | |
| - name: Directory Permissions | |
| run: chmod -R 777 storage bootstrap/cache | |
| - name: Build Frontend Assets | |
| run: npm run build | |
| - name: Run Pre-Commit Checks | |
| run: php artisan dev:check --ansi |