Skip to content

@W-21340586 Add lock file for CI consistency#51

Open
robertson-waweru wants to merge 8 commits intosalesforce:devfrom
robertson-waweru:fix-repo-lint-issues
Open

@W-21340586 Add lock file for CI consistency#51
robertson-waweru wants to merge 8 commits intosalesforce:devfrom
robertson-waweru:fix-repo-lint-issues

Conversation

@robertson-waweru
Copy link
Contributor

Summary

Un-ignore package-lock.json to fix CI caching error.

Problem

CI workflows fail because setup-node@v4 with cache: 'npm' requires package-lock.json to be committed,
but it was gitignored.

Changes

  • Remove package-lock.json from .gitignore
  • Add package-lock.json to repository

Add --passWithNoTests flag to Jest command to allow CI to pass
when the repository has no test files yet.
Access subcomponents via regions.components.components instead of
direct subComponents property to match the Agentforce SDK version
currently used in React Native (pre-subComponents refactor).
Add xcodeVersion: '15.4' to project.yml to ensure XcodeGen
generates Xcode project format compatible with macOS-14 CI runner
(which has Xcode 15.4, not 16+ which supports format 77).
- Update iOS build matrix to use macos-15 instead of macos-14
- Remove xcodeVersion constraint from project.yml (no longer needed)
- Allows XcodeGen to generate latest format (77) for Xcode 16+

This is cleaner than downgrading the project format to work
with older Xcode versions.
  - -sdk iphonesimulator to build for the simulator SDK
  - -destination 'platform=iOS Simulator,name=iPhone 15' to specify the simulator target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant