Compare commits

..

1 Commits

Author SHA1 Message Date
a78d57a34f chore: implement basic tests
Some checks failed
JS Unit Tests / test (pull_request) Failing after 12s
Build Test / Single Module (No Dependencies) (pull_request) Failing after 21s
PHP Unit Tests / test (pull_request) Successful in 50s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-15 21:50:39 -05:00

View File

@@ -9,7 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Retrieve Server Install Action
- name: Checkout action-module-install
uses: actions/checkout@v6.0.2
with:
path: action-module-install
- name: Checkout action-server-install
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/action-server-install
@@ -17,7 +22,7 @@ jobs:
path: action-server-install
github-server-url: https://git.ktrix.dev
- name: Install Server Environment
- name: Setup server environment
uses: ./action-server-install
with:
install-php: 'false'
@@ -26,7 +31,7 @@ jobs:
node-version: '24'
server-path: './server'
- name: Install Mail Manager Module
- name: Checkout mail manager module
uses: actions/checkout@v6.0.2
with:
repository: Nodarx/mail_manager
@@ -34,18 +39,10 @@ jobs:
path: server/modules/mail_manager
github-server-url: https://git.ktrix.dev
- name: Checkout PR Module
uses: actions/checkout@v6.0.2
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
path: server/modules/provider_jmapc
github-server-url: https://git.ktrix.dev
- name: Install dependencies
run: npm ci
working-directory: server/modules/provider_jmapc
working-directory: action-module-install
- name: Build
run: npm run build
working-directory: server/modules/provider_jmapc
working-directory: action-module-install