Files
mail_manager/.github/workflows/build-test.yml
Sebastian Krupinski ec2bc0620a
Some checks failed
Build Test / test (pull_request) Successful in 23s
JS Unit Tests / test (pull_request) Successful in 28s
PHP Unit Tests / test (pull_request) Failing after 51s
chore: implemement basic tests
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-15 22:21:49 -05:00

43 lines
1.1 KiB
YAML

name: Build Test
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Retrieve Server Install Action
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/action-server-install
ref: main
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Install Server
uses: ./action-server-install
with:
install-php: 'false'
install-node: 'true'
php-version: '8.5'
node-version: '24'
server-path: './server'
- name: Checkout Pull Request
uses: actions/checkout@v6.0.2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
path: server/modules/mail_manager
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/mail_manager
- name: Build
run: npm run build
working-directory: server/modules/mail_manager