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

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

This commit is contained in:
Ralph Slooten 2024-01-03 14:58:35 +13:00
parent 8c86cc624e
commit 0c3519cb0d

View File

@ -15,6 +15,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- uses: actions/checkout@v4
- name: Run Go tests
uses: actions/cache@v3
@ -35,8 +36,10 @@ jobs:
with:
node-version: 18
cache: 'npm'
- run: npm install
- run: npm run package
- if: startsWith(matrix.os, 'ubuntu') == true
run: npm install
- if: startsWith(matrix.os, 'ubuntu') == true
run: npm run package
# validate the swagger file
- name: Validate OpenAPI definition