Skip to content

fix(chat-app): wire permissionedGroups for localnet + reconcile env names #47

fix(chat-app): wire permissionedGroups for localnet + reconcile env names

fix(chat-app): wire permissionedGroups for localnet + reconcile env names #47

Workflow file for this run

name: Changesets CI
on: pull_request
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
with:
fetch-depth: 0
- uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # pin@v3.0.0
with:
package_json_file: ts-sdks/package.json
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # pin@v4.0.2
with:
node-version: '24'
cache: 'pnpm'
cache-dependency-path: ts-sdks/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
working-directory: ts-sdks
- id: diff
name: Determine changed public packages from previous commit
working-directory: ts-sdks
run: echo "hasChanges=$(pnpm list --filter "...[$(git rev-parse HEAD^1)]" --depth -1 --json | jq "any(.[] | select(.private != true) ; length > 0)")" >> $GITHUB_OUTPUT
- name: Get changed files in the changesets folder
id: has-changesets
uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69 # pin@v44.3.0
with:
files: |
ts-sdks/.changeset/**
- name: Create missing changeset note if there are missing changesets
if: steps.has-changesets.outputs.any_changed != 'true' && steps.diff.outputs.hasChanges == 'true'
run: echo "true" > missing-changeset.txt
- name: Upload missing changeset artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@4.4.3
if: steps.has-changesets.outputs.any_changed != 'true' && steps.diff.outputs.hasChanges == 'true'
with:
name: missing-changeset
path: missing-changeset.txt
if-no-files-found: error
retention-days: 1
- name: Attempt to create snapshots
working-directory: ts-sdks
run: pnpm changeset version --snapshot test-do-not-publish