Skip to content

Commit 5966757

Browse files
authored
Fix release and benchmark pipelines (#3566)
1 parent 840d844 commit 5966757

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,8 @@ jobs:
7373
7474
- name: Build
7575
run: |
76-
npm run build-prod
77-
npm run build-csp
78-
npm run build-dev
79-
npm run build-css
76+
npm run build-dist
8077
npm run build-benchmarks
81-
npm run generate-typings
8278
8379
- name: Publish NPM package (regular)
8480
if: ${{ steps.prepare_release.outputs.release_type == 'regular' }}

.github/workflows/upload-benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run: npm ci
2121

2222
- name: Build benchmarks
23+
run: npm run generate-typings
2324
run: npm run build-benchmarks
2425

2526
- name: Copy benchmarks_generated.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"generate-typings": "dts-bundle-generator --umd-module-name=maplibregl -o ./dist/maplibre-gl.d.ts ./src/index.ts",
148148
"generate-docs": "typedoc && node --no-warnings --loader ts-node/esm build/generate-docs.ts",
149149
"generate-images": "node --no-warnings --loader ts-node/esm build/generate-doc-images.ts",
150-
"build-dist": "npm run generate-typings && run-p --print-label build-dev build-prod build-csp build-csp-dev build-css",
150+
"build-dist": "run-p --print-label build-css generate-typings && run-p --print-label build-dev build-csp-dev && run-p --print-label build-prod build-csp",
151151
"build-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev",
152152
"watch-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev --watch",
153153
"build-prod": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:production",

0 commit comments

Comments
 (0)