fix(ci): .env.ci for composer install in Actions
This commit is contained in:
@@ -21,6 +21,12 @@ jobs:
|
||||
with:
|
||||
php-version: '8.4'
|
||||
extensions: pdo_pgsql, redis, intl, zip, gd
|
||||
- name: Prepare CI environment
|
||||
run: |
|
||||
cp .env.ci .env.local
|
||||
mkdir -p config/jwt var
|
||||
openssl genrsa -out config/jwt/private.pem 2048
|
||||
openssl rsa -pubout -in config/jwt/private.pem -out config/jwt/public.pem
|
||||
- run: composer install --prefer-dist --no-interaction
|
||||
- run: composer phpunit || true
|
||||
- run: composer audit || true
|
||||
|
||||
Reference in New Issue
Block a user