Fix build warnings

This commit is contained in:
Harel M
2023-12-25 22:00:09 +00:00
parent 04273758f5
commit 3a256178db
3 changed files with 9 additions and 4 deletions
+5 -4
View File
@@ -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:
+1
View File
@@ -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",
+3
View File
@@ -7,6 +7,9 @@ export default defineConfig({
server: { server: {
port: 8888, port: 8888,
}, },
build: {
sourcemap: true
},
plugins: [ plugins: [
replace({ replace({
preventAssignment: true, preventAssignment: true,