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