Deploy nominatim api #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Continuous Integration" | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
- name: Install dependencies | |
run: yarn install | |
- name: Linting | |
run: yarn lint | |
- 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 |