refactor: Package structure overhaul #180
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Preview Release | |
| on: | |
| pull_request: | |
| jobs: | |
| preview-release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: npm i -g --force corepack && corepack enable | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build packages | |
| run: pnpm build:packages | |
| - name: Publish packages preview with pkg-pr-new CLI | |
| run: | | |
| pnpx pkg-pr-new publish \ | |
| ./svelte-maplibre-gl \ | |
| ./extensions/contour \ | |
| ./extensions/deckgl \ | |
| ./extensions/pmtiles \ | |
| ./extensions/terradraw |