Files
monica/.github/workflows/tests.yml
T
dependabot[bot] 5ef656f601 chore(deps): bump monicahq/workflows from 2 to 4
Bumps [monicahq/workflows](https://github.com/monicahq/workflows) from 2 to 4.
- [Release notes](https://github.com/monicahq/workflows/releases)
- [Changelog](https://github.com/monicahq/workflows/blob/main/.releaserc)
- [Commits](https://github.com/monicahq/workflows/compare/v2...v4)

---
updated-dependencies:
- dependency-name: monicahq/workflows
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 02:01:02 +00:00

39 lines
767 B
YAML

name: Build and test
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
release:
types: [created]
concurrency:
group: Build ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
checks: write
id-token: write
jobs:
tests:
name: Run tests
uses: monicahq/workflows/.github/workflows/laravel.yml@v4
with:
php-versions: "['8.3', '8.4']"
connections: "['sqlite', 'mysql', 'pgsql']"
default-php-version: '8.3'
default-connection: sqlite
project: monica
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
assets:
name: Build assets
uses: monicahq/workflows/.github/workflows/build_assets.yml@v4
with:
node-version: 22