]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - .github/workflows/ci.yml
replace eslint-plugin-svelte3 with eslint-plugin-svelte
[nominatim-ui.git] / .github / workflows / ci.yml
index 6e9ed351ab374a7e130341f2e318622e68ab1597..adecae3ab43313715f05c634dd59f4ff79d927ca 100644 (file)
@@ -10,11 +10,11 @@ jobs:
     name: Build
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
-      - uses: actions/setup-node@v2
+      - uses: actions/setup-node@v3
         with:
-          node-version: '10.x'
+          node-version: '16.x'
 
       - name: Install dependencies
         run: yarn install
@@ -24,3 +24,12 @@ jobs:
 
       - name: Build
         run: yarn build
+      
+      - name: Testing
+        run: yarn test
+
+      - name: Testing API_ON_SAME_PORT
+        run: API_ON_SAME_PORT=1 yarn test
+
+      - name: Testing REVERSE_ONLY
+        run: REVERSE_ONLY=1 yarn test