fix php version in CI
Tests & Lint & Deploy to Railway / build (18.x, 8.2) (push) Waiting to run Details
Tests & Lint & Deploy to Railway / deploy (8.1) (push) Blocked by required conditions Details
Tests & Lint & Deploy to Railway / build (14.x, 8.2) (push) Failing after 2m7s Details
Tests & Lint & Deploy to Railway / build (16.x, 8.2) (push) Has been cancelled Details

This commit is contained in:
aslan 2024-01-19 16:39:17 +03:00
parent 748d76441e
commit 9e0e298810
1 changed files with 7 additions and 1 deletions

View File

@ -15,9 +15,10 @@ jobs:
strategy: strategy:
matrix: matrix:
php-versions: [ '8.2' ] php-versions: [ '8.2' ]
node-version: ['14.x', '16.x', '18.x']
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up PHP ${{ matrix.php-versions }} - name: Set up PHP ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
@ -27,6 +28,11 @@ jobs:
- name: PHP Security Checker - name: PHP Security Checker
uses: StephaneBour/actions-php-security-checker@1.1 uses: StephaneBour/actions-php-security-checker@1.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Add keys - name: Add keys
run: | run: |
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub