Compare commits

..

1 Commits

Author SHA1 Message Date
b843124cd6 chore: update name
All checks were successful
Test Action / Test Node (pull_request) Successful in 18s
Test Action / Test Without Dependencies (pull_request) Successful in 8s
Test Action / Test nginx (pull_request) Successful in 22s
Test Action / Test Custom Server Path (pull_request) Successful in 21s
Test Action / Test Build Command (pull_request) Successful in 24s
Test Action / Test PHP (pull_request) Successful in 55s
Test Action / Test All Components (pull_request) Successful in 1m15s
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-14 17:34:17 -05:00

View File

@@ -146,6 +146,30 @@ jobs:
echo "⚠ No test script configured, skipping" echo "⚠ No test script configured, skipping"
fi fi
test-without-dependencies:
name: Test Without Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Test action without installing dependencies
uses: ./
with:
install-node: 'true'
install-dependencies: 'false'
server-path: './test-server'
- name: Verify installation
run: |
test -d ./test-server || exit 1
node --version
# node_modules should not exist since we skipped dependency installation
if [ -d ./test-server/node_modules ]; then
echo "✗ Dependencies were installed when they shouldn't have been"
exit 1
fi
echo "✓ Installation without dependencies successful"
test-build-command: test-build-command:
name: Test Build Command name: Test Build Command
runs-on: ubuntu-latest runs-on: ubuntu-latest