diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index f293b547..6f937ed9 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -26,10 +26,10 @@ jobs: with: node-version: '22.14.0' - - name: 📦 Enable Corepack and install semver + - name: 📦 Enable Corepack and install dependencies run: | corepack enable - npm install -g semver@7.7.2 + yarn install --immutable - name: 🔍 Get current dependency versions id: current-versions @@ -228,7 +228,6 @@ jobs: if: steps.update-analysis.outputs.overall_update_needed == 'true' && steps.pr-analysis.outputs.should_create_pr == 'true' uses: ruby/setup-ruby@v1 with: - ruby-version: '3.2' bundler-cache: true - name: 🛠️ Create update branch @@ -364,7 +363,7 @@ jobs: git commit -m "chore: update Intercom SDK dependencies (${{ steps.update-files.outputs.pr_title_parts }}) ${{ steps.update-files.outputs.changes }} - - Updated lockfiles and example projects + - Updated lockfiles and example projects" echo "🚀 Pushing branch: ${{ steps.create-branch.outputs.branch_name }}" git push origin "${{ steps.create-branch.outputs.branch_name }}" diff --git a/package.json b/package.json index 6ecccbb5..99e12d75 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,7 @@ "react": "18.2.0", "react-native": "^0.81.0", "react-native-builder-bob": "0.40.13", + "semver": "^7.7.2", "typescript": "5.0.4" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index b8fec3bd..f520a640 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2303,6 +2303,7 @@ __metadata: react: 18.2.0 react-native: ^0.81.0 react-native-builder-bob: 0.40.13 + semver: ^7.7.2 typescript: 5.0.4 peerDependencies: react: "*"