Compare commits
1 Commits
a78d57a34f
...
8f995a7f45
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f995a7f45 |
37
.github/workflows/build-test.yml
vendored
37
.github/workflows/build-test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user