Skip to content

feat: add initial SDK library boilerplate and basic svelte LD SDK #2183

feat: add initial SDK library boilerplate and basic svelte LD SDK

feat: add initial SDK library boilerplate and basic svelte LD SDK #2183

Workflow file for this run

name: shared/common
on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' #Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'
jobs:
build-test-common:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- id: shared
name: Shared CI Steps
uses: ./actions/ci
with:
workspace_name: '@launchdarkly/js-sdk-common'
workspace_path: packages/shared/common
- name: Check package size
if: github.event_name == 'pull_request'
uses: ./actions/package-size
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
target_file: 'packages/shared/common/dist/esm/index.mjs'
package_name: '@launchdarkly/js-sdk-common'
pr_number: ${{ github.event.number }}
size_limit: 21000