1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-02-11 13:52:52 +02:00

Limit testing for web UI build & swagger-editor-validate to Ubuntu

This commit is contained in:
Ralph Slooten 2024-01-03 14:52:53 +13:00
parent 4d2b6d6b4a
commit 8c86cc624e

View File

@ -30,6 +30,7 @@ jobs:
# build the assets # build the assets
- name: Build web UI - name: Build web UI
if: startsWith(matrix.os, 'ubuntu') == true
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
@ -39,6 +40,7 @@ jobs:
# validate the swagger file # validate the swagger file
- name: Validate OpenAPI definition - name: Validate OpenAPI definition
if: startsWith(matrix.os, 'ubuntu') == true
uses: char0n/swagger-editor-validate@v1 uses: char0n/swagger-editor-validate@v1
with: with:
definition-file: server/ui/api/v1/swagger.json definition-file: server/ui/api/v1/swagger.json