]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - .github/workflows/ci.yml
catch and report JSON parsing errors, simulate API HTTP responses (#168)
[nominatim-ui.git] / .github / workflows / ci.yml
index 6e9ed351ab374a7e130341f2e318622e68ab1597..58331309b7932bca59a9f0c5c4291133b0589de6 100644 (file)
@@ -14,7 +14,7 @@ jobs:
 
       - uses: actions/setup-node@v2
         with:
-          node-version: '10.x'
+          node-version: '16.x'
 
       - name: Install dependencies
         run: yarn install
@@ -24,3 +24,8 @@ jobs:
 
       - name: Build
         run: yarn build
+      
+      - name: Testing
+        run: |
+          yarn test
+          API_ON_SAME_PORT=1 yarn test