Skip to content

Commit 422b048

Browse files
authored
Merge pull request #548 from cmu-delphi/sgratzl/js-client
upgrade JS client
2 parents bb14de9 + 73672f4 commit 422b048

File tree

9 files changed

+5533
-1249
lines changed

9 files changed

+5533
-1249
lines changed

.github/workflows/ci.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,27 @@ jobs:
8484
docker stop delphi_database_epidata delphi_web_epidata
8585
docker network remove delphi-net
8686
87+
build_js_clients:
88+
runs-on: ubuntu-latest
89+
defaults:
90+
run:
91+
working-directory: src/client/packaging/npm
92+
steps:
93+
- name: Checkout
94+
uses: actions/checkout@v2
95+
- uses: actions/setup-node@v2
96+
with:
97+
node-version: '14.x'
98+
- name: Cache Node.js modules
99+
uses: actions/cache@v2
100+
with:
101+
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
102+
key: ${{ runner.OS }}-node2-${{ hashFiles('**/package-lock.json') }}
103+
restore-keys: |
104+
${{ runner.OS }}-node2-
105+
- run: npm ci
106+
- run: npm test
107+
87108
image:
88109
needs: build
89110
# only on main and dev branch

0 commit comments

Comments
 (0)