Compare commits
1 Commits
8f995a7f45
...
a78d57a34f
| Author | SHA1 | Date | |
|---|---|---|---|
| a78d57a34f |
41
.github/workflows/build-test.yml
vendored
41
.github/workflows/build-test.yml
vendored
@@ -4,20 +4,45 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test-single-module:
|
||||||
|
name: Single Module (No Dependencies)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v6.0.2
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
steps:
|
||||||
uses: actions/setup-node@v6.2.0
|
- name: Checkout action-module-install
|
||||||
|
uses: actions/checkout@v6.0.2
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
path: action-module-install
|
||||||
cache: npm
|
|
||||||
|
- name: Checkout action-server-install
|
||||||
|
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: 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
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
working-directory: action-module-install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
working-directory: action-module-install
|
||||||
|
|||||||
Reference in New Issue
Block a user