]> git.openstreetmap.org Git - nominatim-ui.git/blob - .github/workflows/ci.yml
Add tests for running API and UI on the same server port (#151)
[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: '10.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: |
30           yarn test
31           API_ON_SAME_PORT=1 yarn test