Skip to content
Open
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
387bfb6
updated phpcs workflow file
akshayurankar48 Sep 17, 2025
b6d8e8a
updated phpcs workflow file 2
akshayurankar48 Sep 17, 2025
6a32388
updated phpcs workflow file 3
akshayurankar48 Sep 17, 2025
fda2669
updated composer
akshayurankar48 Sep 17, 2025
ef69317
updated phpcs workflow file 4
akshayurankar48 Sep 17, 2025
a2de718
updated phpcs workflow file 5
akshayurankar48 Sep 17, 2025
0729e26
updated phpcs workflow file 6
akshayurankar48 Sep 17, 2025
7a9f543
updated phpcs workflow file 7
akshayurankar48 Sep 17, 2025
0564926
updated phpcbf
akshayurankar48 Sep 17, 2025
d4c7c0c
updated github workflow 7
akshayurankar48 Sep 17, 2025
bd2d3e6
updated github workflow 8
akshayurankar48 Sep 17, 2025
b745623
updated workflow file 8
akshayurankar48 Sep 17, 2025
ef45ec4
updated workflow file 9
akshayurankar48 Sep 17, 2025
dc17527
updated workflow file 10
akshayurankar48 Sep 17, 2025
8d0366c
updated github workflow files 11
akshayurankar48 Sep 17, 2025
f95ed52
updated github workflow files 12
akshayurankar48 Sep 17, 2025
cbf9fba
updated github workflow files 13
akshayurankar48 Sep 17, 2025
15ce032
updated github workflow files 14
akshayurankar48 Sep 17, 2025
d50aa88
updated github workflow files 15
akshayurankar48 Sep 17, 2025
61f25f8
updated github workflow files 16
akshayurankar48 Sep 17, 2025
567176b
updated github workflow files 17
akshayurankar48 Sep 17, 2025
2da8217
updated github workflow files 18
akshayurankar48 Sep 17, 2025
277748d
updated github workflow files 19
akshayurankar48 Sep 17, 2025
78c82f4
updated github workflow files 20
akshayurankar48 Sep 17, 2025
341cf9a
Updated github workflow files 21
ShubhamGupta05 Sep 17, 2025
992225c
updated github workflow files 21
akshayurankar48 Sep 17, 2025
3f4f6ce
updated github workflow files 22
akshayurankar48 Sep 17, 2025
00a10dc
updated github workflow files 23
akshayurankar48 Sep 17, 2025
f653eec
updated github workflow files 24
akshayurankar48 Sep 17, 2025
cfc56a5
updated github workflow files 25
akshayurankar48 Sep 17, 2025
5d96bdb
Updated file to test
ShubhamGupta05 Sep 17, 2025
1d1fada
updated github workflow files 26
akshayurankar48 Sep 17, 2025
d5efb5a
updated github workflow files 27
akshayurankar48 Sep 17, 2025
479811f
updated github workflow files 26
akshayurankar48 Sep 17, 2025
a800f57
updated file
ShubhamGupta05 Sep 17, 2025
c515b68
remove /
ShubhamGupta05 Sep 17, 2025
a70f7dc
skip private repo
ShubhamGupta05 Sep 17, 2025
433b602
fix composer
ShubhamGupta05 Sep 17, 2025
aca450f
Merge branch 'release-candidate' of https://github.com/brainstormforc…
akshayurankar48 Oct 15, 2025
46667a2
updated PHP Version
akshayurankar48 Oct 15, 2025
4261f11
updated PHP Version 2
akshayurankar48 Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 45 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,66 @@
name: CI
name: Code Analysis

on: pull_request

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

jobs:
CI:
runs-on: ubuntu-latest
analysis:
runs-on: self-hosted

strategy:
matrix:
node: [ 14.15 ]
node: ['14.17']
php: ['7.4']

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2

- name: Use desired version of NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Cache NPM packages
uses: actions/cache@v2
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-npm-cache-${{ hashFiles('**/package-lock.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: composer

- name: Install composer dependencies
run: composer config github-oauth.github.com ${{ secrets.PRIVATE_ACCESS_TOKEN }} && composer install --prefer-dist --no-suggest --no-progress
tools: composer, cs2pr, phpcs

- name: PHPCS check
- name: Install dependencies
run: composer install --prefer-dist --no-suggest --no-progress && npm install

- name: Run phpcs
id: phpcs
if: always()
uses: chekalsky/phpcs-action@v1
with:
phpcs_bin_path: './vendor/bin/phpcs'

- name: Use desired version of NodeJS
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'npm'
run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml

- name: npm install
run: npm ci
- name: Show PHPCS results in PR
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
run: cs2pr ./phpcs-report.xml

- name: Build project
run: npm run build
- name: Prettier Check
if: always()
run: npm run pretty

- name: Lint JS
run: npm run lint:js
if: always()
run: npm run lint-js

- name: Lint CSS
if: always()
run: npm run lint-css
Loading