From: Sarah Hoffmann Date: Tue, 16 Feb 2021 20:53:37 +0000 (+0100) Subject: Enable simple CI run (#77) X-Git-Url: https://git.openstreetmap.org/nominatim-ui.git/commitdiff_plain/42f03f0660c5815d4a5faeb4a1c087f507ff59a0?hp=ff2a7ec7c88e30a088784e0daa1b25583d9b6934 Enable simple CI run (#77) * add simple CI run via github actions --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6e9ed35 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +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: '10.x' + + - name: Install dependencies + run: yarn install + + - name: Linting + run: yarn lint + + - name: Build + run: yarn build diff --git a/src/pages/DetailsPage.svelte b/src/pages/DetailsPage.svelte index 40a92f6..585ce3b 100644 --- a/src/pages/DetailsPage.svelte +++ b/src/pages/DetailsPage.svelte @@ -40,7 +40,7 @@ } fetch_from_api('details', api_request_params, function (data) { - window.scrollTo(0, 0) + window.scrollTo(0, 0); if (data.error) { errorResponse = data; current_result = undefined;