Skip to content

Commit

Permalink
Little bit less pc usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Aug 21, 2024
1 parent bdcff01 commit 73e762f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/CI-workflows.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI Workflow

on: [push, pull_request]
on: [push, master]

jobs:
build:
Expand All @@ -19,6 +19,17 @@ jobs:
- name: Install Composer dependencies
run: composer install

- name: Install npm dependencies
uses: actions/setup-node@v3
with:
node-version: '18.x' # Specify Node.js version
# Documentation: https://github.com/actions/setup-node
# Explanation: This step sets up a Node.js environment and installs the project's dependencies listed in the `package.json` file using npm.

- run: npm install
# Documentation: https://docs.npmjs.com/cli/v7/commands/npm-install
# Explanation: This step runs `npm install` to install the Node.js dependencies required for the project.

- name: Run phpcbf
run: phpcbf .
continue-on-error: ${{ github.ref != 'refs/heads/main' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up PHP and install extensions
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.2'
extensions: zip, gd
# Documentation: https://github.com/shivammathur/setup-php
# Explanation: This step sets up PHP 7.4 and installs the required extensions (`zip` and `gd`) that are necessary for your Composer dependencies.
Expand Down

0 comments on commit 73e762f

Please sign in to comment.