mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
feat: enable runnint test on travis
This commit is contained in:
7
frontend/scripts/build-and-run-tests.sh
Executable file
7
frontend/scripts/build-and-run-tests.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
npm install
|
||||
npm run build:test || exit 1;
|
||||
|
||||
node ./target/tests/main
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
npm install
|
||||
npm run build:main || exit 1;
|
||||
npm run build:view || exit 1;
|
||||
npm run build:worker || exit 1;
|
||||
|
||||
# TODO
|
||||
#node ./out/tests.js
|
||||
Reference in New Issue
Block a user