From cbe8da609ce33bbd6b4b3231db8dfa5b32bc0786 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 16 Nov 2022 16:18:35 -0800 Subject: [PATCH] fix js-unittest.yml to start local server Signed-off-by: Arthur Lu --- .github/workflows/js-unittest.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/js-unittest.yml b/.github/workflows/js-unittest.yml index 4cb1359..5c07e35 100644 --- a/.github/workflows/js-unittest.yml +++ b/.github/workflows/js-unittest.yml @@ -23,5 +23,7 @@ jobs: uses: actions/checkout@v3 - name: Install dependencies run: sudo npm install + - name: Start local http server + run: sudo npm run http-server - name: Run tests run: sudo npm test \ No newline at end of file