diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba5a721..b5b591d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: build-docker: - name: build/docker + name: build docker runs-on: ubuntu-latest if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} @@ -19,7 +19,7 @@ jobs: # build the editor build-node: - name: "build on (${{ matrix.os }})" + name: "build on ${{ matrix.os }}" runs-on: ${{ matrix.os }} if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} @@ -45,7 +45,7 @@ jobs: build-artifacts: - name: "build artifacts on ubuntu-latest" + name: "build artifacts" runs-on: ubuntu-latest if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} @@ -109,7 +109,8 @@ jobs: name: maputnik-windows path: ./src/github.com/maputnik/desktop/bin/windows/ - cypress-run: + e2e-tests: + name: "E2E tests using ${{ matrix.browser }}" strategy: fail-fast: false matrix: diff --git a/package.json b/package.json index 931f74ec..33f933ab 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "maputnik", "version": "2.0.0-pre.2", "description": "A MapLibre GL visual style editor", + "type": "module", "main": "''", "scripts": { "start": "vite", diff --git a/vite.config.ts b/vite.config.ts index e6d385fd..e1ca3e83 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,9 @@ export default defineConfig({ server: { port: 8888, }, + build: { + sourcemap: true + }, plugins: [ replace({ preventAssignment: true,