]> git.openstreetmap.org Git - nominatim-ui.git/blob - .github/workflows/ci.yml
new config option -Reverse_Only- (#166)
[nominatim-ui.git] / .github / workflows / ci.yml
1 name: "Continuous Integration"
2
3 on:
4   push:
5   pull_request:
6
7 jobs:
8   build:
9
10     name: Build
11     runs-on: ubuntu-latest
12     steps:
13       - uses: actions/checkout@v2
14
15       - uses: actions/setup-node@v2
16         with:
17           node-version: '16.x'
18
19       - name: Install dependencies
20         run: yarn install
21
22       - name: Linting
23         run: yarn lint
24
25       - name: Build
26         run: yarn build
27       
28       - name: Testing
29         run: yarn test
30
31       - name: Testing API_ON_SAME_PORT
32         run: API_ON_SAME_PORT=1 yarn test
33
34       - name: Testing REVERSE_ONLY
35         run: REVERSE_ONLY=1 yarn test