mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
26 lines
427 B
Bash
Executable File
26 lines
427 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export PATH=./scripts:$PATH
|
|
|
|
docker --version
|
|
docker-compose --version
|
|
echo "node `node -v`"
|
|
echo "npm `npm -v`"
|
|
|
|
# Build
|
|
authelia-scripts build
|
|
|
|
# Run unit tests
|
|
authelia-scripts unittest
|
|
|
|
# Build the docker image
|
|
authelia-scripts docker build
|
|
|
|
# Run integration tests
|
|
authelia-scripts test --headless test/suites/**/*.ts
|
|
|
|
# Test npm deployment before actual deployment
|
|
# ./scripts/npm-deployment-test.sh
|