Initialize central Davidson CI
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
name: Davidson CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
detect:
|
||||||
|
runs-on: davidson-ci
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Detect project
|
||||||
|
run: |
|
||||||
|
echo "=== Davidson CI Project Detection ==="
|
||||||
|
|
||||||
|
PHP_COUNT=$(find . -type f -name "*.php" -not -path "./vendor/*" | wc -l)
|
||||||
|
JS_COUNT=$(find . -type f \( -name "*.js" -o -name "*.mjs" -o -name "*.cjs" \) -not -path "./node_modules/*" | wc -l)
|
||||||
|
CSS_COUNT=$(find . -type f -name "*.css" -not -path "./node_modules/*" | wc -l)
|
||||||
|
|
||||||
|
echo "PHP files: $PHP_COUNT"
|
||||||
|
echo "JavaScript files: $JS_COUNT"
|
||||||
|
echo "CSS files: $CSS_COUNT"
|
||||||
Reference in New Issue
Block a user