From df73c5975c28d2ff862416a77b06b9e59502a25b Mon Sep 17 00:00:00 2001 From: Jacob Wartofsky Date: Sun, 15 Oct 2023 17:01:22 -0400 Subject: [PATCH] Change to node script --- .github/workflows/jstest.yml | 6 ++++-- packages/pages/scripts/install_and_test.js | 1 + packages/pages/scripts/install_and_test.sh | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 packages/pages/scripts/install_and_test.js delete mode 100755 packages/pages/scripts/install_and_test.sh diff --git a/.github/workflows/jstest.yml b/.github/workflows/jstest.yml index 5e0b4de48..faa1da9dd 100644 --- a/.github/workflows/jstest.yml +++ b/.github/workflows/jstest.yml @@ -38,8 +38,10 @@ jobs: ssh-key: ${{ secrets.JSTEST_PRIVATE_SSH_KEY }} path: jstest - - name: Shell test - run: chmod +x ./scripts/install_and_test.sh && ./scripts/install_and_test.sh +# - name: Shell test +# run: chmod +x ./scripts/install_and_test.sh && ./scripts/install_and_test.sh + - name: Node test + run: node ./scripts/install_and_test.js diff --git a/packages/pages/scripts/install_and_test.js b/packages/pages/scripts/install_and_test.js new file mode 100644 index 000000000..940a3ff0e --- /dev/null +++ b/packages/pages/scripts/install_and_test.js @@ -0,0 +1 @@ +console.log("Hello world!"); diff --git a/packages/pages/scripts/install_and_test.sh b/packages/pages/scripts/install_and_test.sh deleted file mode 100755 index 1e4799721..000000000 --- a/packages/pages/scripts/install_and_test.sh +++ /dev/null @@ -1,2 +0,0 @@ -ls -exit 3 \ No newline at end of file