fix js-unittest.yml to start local server

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-16 16:18:35 -08:00
parent dd7d876f29
commit cbe8da609c

View File

@ -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