Compare commits

..

1 Commits

Author SHA1 Message Date
8f995a7f45 chore: implement basic tests
Some checks failed
JS Unit Tests / test (pull_request) Failing after 10s
Build Test / build (pull_request) Failing after 12s
PHP Unit Tests / test (pull_request) Successful in 46s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-15 16:09:49 -05:00

View File

@@ -4,45 +4,20 @@ on:
pull_request:
jobs:
test-single-module:
name: Single Module (No Dependencies)
build:
runs-on: ubuntu-latest
steps:
- name: Checkout action-module-install
- name: Checkout
uses: actions/checkout@v6.0.2
with:
path: action-module-install
- name: Checkout action-server-install
uses: actions/checkout@v6.0.2
- name: Set up Node.js
uses: actions/setup-node@v6.2.0
with:
repository: Nodarx/action-server-install
ref: main
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Setup server environment
uses: ./action-server-install
with:
install-php: 'false'
install-node: 'true'
php-version: '8.5'
node-version: '24'
server-path: './server'
- name: Checkout mail manager module
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/mail_manager
ref: main
path: server/modules/mail_manager
github-server-url: https://git.ktrix.dev
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
working-directory: action-module-install
- name: Build
run: npm run build
working-directory: action-module-install