chore(deps): bump changesets/action from 1.8.0 to 1.9.0 (#181) #106
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: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v6 | |
| - name: Setup pnpm | |
| run: npm i -g --force corepack@latest && corepack enable | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Create Release Pull Request or Publish to npm | |
| id: changesets | |
| uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 | |
| with: | |
| publish: pnpm run release | |
| version: pnpm run version | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Generate preview releases for PRs | |
| - name: Publish Preview Packages | |
| if: steps.changesets.outputs.published != 'true' | |
| run: | | |
| pnpm build:packages | |
| pnpx pkg-pr-new publish \ | |
| ./svelte-maplibre-gl \ | |
| ./extensions/contour \ | |
| ./extensions/deckgl \ | |
| ./extensions/pmtiles \ | |
| ./extensions/terradraw |