Skip to content

Commit

Permalink
Fix release and benchmark pipelines (#3566)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM authored Jan 11, 2024
1 parent 840d844 commit 5966757
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,8 @@ jobs:
- name: Build
run: |
npm run build-prod
npm run build-csp
npm run build-dev
npm run build-css
npm run build-dist
npm run build-benchmarks
npm run generate-typings
- name: Publish NPM package (regular)
if: ${{ steps.prepare_release.outputs.release_type == 'regular' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upload-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
run: npm ci

- name: Build benchmarks
run: npm run generate-typings
run: npm run build-benchmarks

- name: Copy benchmarks_generated.js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"generate-typings": "dts-bundle-generator --umd-module-name=maplibregl -o ./dist/maplibre-gl.d.ts ./src/index.ts",
"generate-docs": "typedoc && node --no-warnings --loader ts-node/esm build/generate-docs.ts",
"generate-images": "node --no-warnings --loader ts-node/esm build/generate-doc-images.ts",
"build-dist": "npm run generate-typings && run-p --print-label build-dev build-prod build-csp build-csp-dev build-css",
"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",
"build-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev",
"watch-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev --watch",
"build-prod": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:production",
Expand Down

0 comments on commit 5966757

Please sign in to comment.