ci: run contract tests through separate cypress command and add into CI

This commit is contained in:
Jack Michaud
2023-01-03 20:51:11 -05:00
parent b7fb1325b2
commit 5ed4131720
5 changed files with 31 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
# switch to website directory
pushd "$parent_path/../../website"
set -xe
npm run cypress:run:contract
popd