Skip to content

Commit

Permalink
add npm install task
Browse files Browse the repository at this point in the history
  • Loading branch information
emnbdx committed Aug 20, 2024
1 parent 7a39afa commit f152427
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
- name: Run composer install if composer.json exists
if: steps.check_files.outputs.files_exists == 'true'
run: composer validate --no-check-publish && composer install --prefer-dist --no-progress

- name: Set up Node.js version
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: npm install
run: |
npm install
- name: SFTP Deploy
uses: Dylan700/sftp-upload-action@latest
Expand Down

0 comments on commit f152427

Please sign in to comment.