Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
php:
name: PHP Tests & Lint
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

services:
mariadb:
Expand All @@ -30,12 +30,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: pdo, pdo_mysql, mbstring, bcmath, gd, opcache
coverage: none
- name: Setup PHP 8.4
run: |
mkdir -p "$RUNNER_TEMP/phpbin"
ln -sf /usr/bin/php8.4 "$RUNNER_TEMP/phpbin/php"
curl -fsSL https://getcomposer.org/download/latest-stable/composer.phar -o "$RUNNER_TEMP/phpbin/composer.phar"
printf '#!/usr/bin/env bash\nexec "%s/php" "%s/composer.phar" "$@"\n' "$RUNNER_TEMP/phpbin" "$RUNNER_TEMP/phpbin" > "$RUNNER_TEMP/phpbin/composer"
chmod +x "$RUNNER_TEMP/phpbin/composer"
echo "$RUNNER_TEMP/phpbin" >> "$GITHUB_PATH"
"$RUNNER_TEMP/phpbin/php" --version

- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:

frontend:
name: Frontend Lint & Build
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -97,7 +100,7 @@ jobs:

cli:
name: CLI Tests & Build
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish:
name: Publish @eooo/skillr
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, X64]

permissions:
contents: read
Expand Down
Loading