Compare commits

..

1 Commits

Author SHA1 Message Date
1254889ddc chore: update name
Some checks failed
Test Action / Test nginx (pull_request) Failing after 36s
Test Action / Test Node.js with pnpm (pull_request) Successful in 1m7s
Test Action / Test Without Dependencies (pull_request) Successful in 1m8s
Test Action / Test Node.js with npm (pull_request) Successful in 1m25s
Test Action / Test Custom Server Path (pull_request) Successful in 1m16s
Test Action / Test PHP (pull_request) Failing after 1m54s
Test Action / Test All Components (pull_request) Failing after 1m58s
Test Action / Test Node.js with yarn (pull_request) Successful in 2m18s
Test Action / Test Build Command (pull_request) Successful in 2m38s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-14 16:35:27 -05:00

View File

@@ -6,8 +6,8 @@ on:
branches: [ main ] branches: [ main ]
jobs: jobs:
test-node: test-node-npm:
name: Test Node name: Test Node.js with npm
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -16,7 +16,7 @@ jobs:
uses: ./ uses: ./
with: with:
install-node: 'true' install-node: 'true'
node-version: '24' node-version: '20'
package-manager: 'npm' package-manager: 'npm'
server-path: './test-server' server-path: './test-server'
@@ -33,6 +33,63 @@ jobs:
cd ./test-server cd ./test-server
npm test npm test
test-node-yarn:
name: Test Node.js with yarn
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Test action with Node.js (yarn)
uses: ./
with:
install-node: 'true'
node-version: '20'
package-manager: 'yarn'
server-path: './test-server'
- name: Verify installation
run: |
test -d ./test-server || exit 1
test -d ./test-server/node_modules || exit 1
chmod +x ./scripts/health-check.sh
./scripts/health-check.sh ./test-server true false false
echo "✓ Node.js (yarn) installation successful"
- name: Run server tests
run: |
cd ./test-server
yarn test
test-node-pnpm:
name: Test Node.js with pnpm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test action with Node.js (pnpm)
uses: ./
with:
install-node: 'true'
node-version: '20'
package-manager: 'pnpm'
server-path: './test-server'
- name: Verify installation
run: |
test -d ./test-server || exit 1
test -d ./test-server/node_modules || exit 1
chmod +x ./scripts/health-check.sh
./scripts/health-check.sh ./test-server true false false
echo "✓ Node.js (pnpm) installation successful"
- name: Run server tests
run: |
cd ./test-server
pnpm test
test-php: test-php:
name: Test PHP name: Test PHP
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -43,7 +100,7 @@ jobs:
uses: ./ uses: ./
with: with:
install-php: 'true' install-php: 'true'
php-version: '8.5' php-version: '8.2'
server-path: './test-server' server-path: './test-server'
- name: Verify installation - name: Verify installation
@@ -93,8 +150,8 @@ jobs:
install-node: 'true' install-node: 'true'
install-php: 'true' install-php: 'true'
install-nginx: 'true' install-nginx: 'true'
node-version: '24' node-version: '20'
php-version: '8.5' php-version: '8.2'
package-manager: 'npm' package-manager: 'npm'
server-path: './test-server' server-path: './test-server'