mirror of
https://github.com/maputnik/editor.git
synced 2026-09-01 09:57:27 +00:00
Fix build warnings
This commit is contained in:
@@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-docker:
|
build-docker:
|
||||||
name: build/docker
|
name: build docker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
# build the editor
|
# build the editor
|
||||||
build-node:
|
build-node:
|
||||||
name: "build on (${{ matrix.os }})"
|
name: "build on ${{ matrix.os }}"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
build-artifacts:
|
build-artifacts:
|
||||||
name: "build artifacts on ubuntu-latest"
|
name: "build artifacts"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
@@ -109,7 +109,8 @@ jobs:
|
|||||||
name: maputnik-windows
|
name: maputnik-windows
|
||||||
path: ./src/github.com/maputnik/desktop/bin/windows/
|
path: ./src/github.com/maputnik/desktop/bin/windows/
|
||||||
|
|
||||||
cypress-run:
|
e2e-tests:
|
||||||
|
name: "E2E tests using ${{ matrix.browser }}"
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "maputnik",
|
"name": "maputnik",
|
||||||
"version": "2.0.0-pre.2",
|
"version": "2.0.0-pre.2",
|
||||||
"description": "A MapLibre GL visual style editor",
|
"description": "A MapLibre GL visual style editor",
|
||||||
|
"type": "module",
|
||||||
"main": "''",
|
"main": "''",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "vite",
|
"start": "vite",
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
port: 8888,
|
port: 8888,
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
sourcemap: true
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
replace({
|
replace({
|
||||||
preventAssignment: true,
|
preventAssignment: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user