]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - .github/workflows/ci.yml
rollup 4.x needs nodejs 18
[nominatim-ui.git] / .github / workflows / ci.yml
index 58331309b7932bca59a9f0c5c4291133b0589de6..c8ca6718141a36f03ed0a4663f953c3e242914c5 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: '16.x'
+          node-version: '18.x'
 
       - name: Install dependencies
         run: yarn install
@@ -26,6 +26,10 @@ jobs:
         run: yarn build
       
       - name: Testing
-        run: |
-          yarn test
-          API_ON_SAME_PORT=1 yarn test
+        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