Skip to content

Commit

Permalink
simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jan 3, 2025
1 parent ce08570 commit dfa8541
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 64 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build, Test and Lint

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run PHPUnit
run: composer run-script test

- name: Run PHPCS
run: composer run-script lint

- name: Install NPM dependencies
run: npm ci

- name: Run lint
run: npm run lint

22 changes: 0 additions & 22 deletions .github/workflows/node.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/php.yml

This file was deleted.

0 comments on commit dfa8541

Please sign in to comment.