Compare commits
1 Commits
b843124cd6
...
ae55fa9c52
| Author | SHA1 | Date | |
|---|---|---|---|
| ae55fa9c52 |
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@@ -146,30 +146,6 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user