From 9e0e298810a8411ecd63bec7525cf38e5987b678 Mon Sep 17 00:00:00 2001 From: aslan Date: Fri, 19 Jan 2024 16:39:17 +0300 Subject: [PATCH] fix php version in CI --- .gitea/workflows/php.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/php.yml b/.gitea/workflows/php.yml index 61455a4..dfc4506 100644 --- a/.gitea/workflows/php.yml +++ b/.gitea/workflows/php.yml @@ -15,9 +15,10 @@ jobs: strategy: matrix: php-versions: [ '8.2' ] + node-version: ['14.x', '16.x', '18.x'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up PHP ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 @@ -27,6 +28,11 @@ jobs: - name: PHP Security Checker 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 run: | sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub