Skip to content

v0.29.0

v0.29.0 #45

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
package: [js-server-sdk, composition]
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- run: corepack enable
- run: yarn
- run: yarn build
- run: yarn pack -o package.tgz
working-directory: packages/${{ matrix.package }}
- run: npm publish ./package.tgz ${{ github.event.release.prerelease && '--tag rc' || '' }}
working-directory: packages/${{ matrix.package }}