feat(ci): switch CI to use @git.zone/tsdocker and add tsdocker config and image tests
This commit is contained in:
24
test/test_alpine-node.sh
Executable file
24
test/test_alpine-node.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Testing alpine-node image..."
|
||||
|
||||
# Test NVM
|
||||
echo "Testing NVM..."
|
||||
nvm --version
|
||||
|
||||
# Test Node.js
|
||||
echo "Testing Node.js..."
|
||||
node --version
|
||||
|
||||
# Test pnpm
|
||||
echo "Testing pnpm..."
|
||||
pnpm --version
|
||||
|
||||
# Test NVM version switching
|
||||
echo "Testing NVM version switching..."
|
||||
nvm install 18
|
||||
nvm use 18
|
||||
node --version | grep v18
|
||||
|
||||
echo "alpine-node tests passed!"
|
||||
Reference in New Issue
Block a user