Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Bump CI actions to Node 24 and shard the e2e job
Paulo Castellano45d0dbf510b8
diff --git a/.github/actions/setup-laravel/action.yml b/.github/actions/setup-laravel/action.ymlindex c40a2d07c..fb27885c9 100644--- a/.github/actions/setup-laravel/action.yml+++ b/.github/actions/setup-laravel/action.yml@@ -24,13 +24,13 @@ runs:- name: Setup Node.jsif: inputs.node == 'true'- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: '22'cache: 'npm'- name: Cache Composer dependencies- uses: actions/cache@v4+ uses: actions/cache@v6with:path: vendorkey: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 09d1c4718..c55a1127a 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -17,7 +17,7 @@ jobs:quality:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- name: Setup PHPuses: shivammathur/setup-php@v2diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 4a655c4b7..4c55e6c54 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -47,7 +47,7 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup test environmentuses: ./.github/actions/setup-laravel@@ -64,6 +64,11 @@ jobs:e2e:runs-on: ubuntu-latest+ strategy:+ fail-fast: false+ matrix:+ shard: [1, 2]+services:postgres:image: postgres:16@@ -91,7 +96,7 @@ jobs:steps:- name: Checkout code- uses: actions/checkout@v4+ uses: actions/checkout@v7- name: Setup test environmentuses: ./.github/actions/setup-laravel@@ -101,6 +106,7 @@ jobs:redis-port: ${{ job.services.redis.ports['6379'] }}- name: Run frontend unit tests+ if: matrix.shard == 1run: npm run test:unit- name: Build assets@@ -113,13 +119,21 @@ jobs:env:DB_PORT: ${{ job.services.postgres.ports['5432'] }}REDIS_PORT: ${{ job.services.redis.ports['6379'] }}- run: php artisan test tests/Browser --compact+ run: php artisan test tests/Browser --compact --shard=${{ matrix.shard }}/2- name: Upload Playwright artifactsif: failure()- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@v7with:- name: playwright-artifacts+ name: playwright-artifacts-${{ matrix.shard }}path: tests/Browser/Screenshotsif-no-files-found: ignoreretention-days: 7++ e2e-gate:+ if: always()+ needs: e2e+ runs-on: ubuntu-latest+ steps:+ - name: Require all e2e shards to pass+ run: '[ "${{ needs.e2e.result }}" = "success" ] || exit 1'