Takuya N
18305e3cbf
chore(deps-dev): allow devs to use Node.js 22 (LTS) ( #8657 )
...
Also upgrade the default version of Node.js to 22.14.0.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2025-03-24 16:28:11 -06:00
Rahim Rahman
ecc199ea08
ci(MM-63199): fix download artifact issue ( #8690 )
...
* remove some test
* clean error
* use has_coverage_from_main
* revert sentry.test.ts
* remove use of github_token
* trying github.token instead
* see if permissions write will solve the Resource not accessible problem
* would github-token help solve that problem?
* see if permissions on the workflow itself would fix the problem
* trying pull_request_target
* add branches to pull request target
* remove branches for now.
* changed to the proper event_name
* check if it's forked repo.
* using is_fork
2025-03-18 13:18:12 -06:00
Rahim Rahman
abb526cf83
ci(MM-63199): code coverage tracking ( #8642 )
...
* ci(MM-63199): code coverage tracking
* try to download existing coverage file
* read coverage
* add token
* use github.token instead
* passing github token
* github_token passing from workflow
* remove download
* re-add download
* wrong param
* try download all artifacts
* add run-id so to retrieve with download later
* remove read coverage temp
* use run-id to download
* put files into current-coverage
* using last run id
* temporary comment
* can retrieve last run id?
* remove hard-coding
* echo into github_env vs export
* comparing new and old
* comparison improvement
* post to github
* fix coverage text
* refactor to main from current-coverage
* formatting changes
* fix missing content
* small tweaking
* showing the Warning to make sure
* formatting
* remove +
* checking to see if the error shows via echo
* revert the change to error
* separate to a new file
* comment the actual test for now
* prep node deps
* only run certain things on main
* trying cache-hit
* real trying cache-hit
* testing to make sure cache-run-id runs
* save-always true
* save-always deprecated
* let's try different strategy
* add key
* restore-key adding a -
* only perform on `main`
* only run on main or if its a PR
* coverage_threshold
* remove comments
* add total
* removing unneeded comments
* calculate total
* run test in `release-*` only
* making sure that only PR will run
* only do more steps if upload-coverage successful
* trying thollander/actions-comment-pull-request
* using diff way to comment.
* comment on how things work
* testing to trigger warning and see if comment is updated vs new comment
* omit echo messages
* see if giving github token would work.
* wrong use of param
* try without github token
* adding a very simple change to see where it lands
* using cache hit instead.
* creating the cache again. how did i lose it?
* revert back
* cache-hit might be off
* debug
* debug with failing cache restoration
* check for run-id.txt instead
* all into action
* missing "
* remove unneeded actions
* change threshold to 0.5
* relative time
* skeptical about date formatting
* revert back to the threshold trigger
* below 80% total coverage threshold
* only show one error/warning at time.
* testing if the coverage drop below 80
* debug output
* add Reset Test Coverage label use
* try using contains vs direct comparsion
* remove the label checker
* temp change
* ooops
* revert back
* let's post before exiting
* consistency
* total coverage threshold reset to 80%
2025-03-14 13:21:25 -06:00
dependabot[bot]
e83ed142dc
Bump the github-actions-updates group across 5 directories with 6 updates ( #8613 )
...
Bumps the github-actions-updates group with 1 update in the /.github/actions/prepare-android-build directory: [actions/checkout](https://github.com/actions/checkout ).
Bumps the github-actions-updates group with 1 update in the /.github/actions/prepare-ios-build directory: [actions/cache](https://github.com/actions/cache ).
Bumps the github-actions-updates group with 2 updates in the /.github/actions/prepare-mobile-build directory: [actions/cache](https://github.com/actions/cache ) and [ruby/setup-ruby](https://github.com/ruby/setup-ruby ).
Bumps the github-actions-updates group with 2 updates in the /.github/actions/prepare-node-deps directory: [actions/cache](https://github.com/actions/cache ) and [actions/setup-node](https://github.com/actions/setup-node ).
Bumps the github-actions-updates group with 4 updates in the /.github/workflows directory: [actions/checkout](https://github.com/actions/checkout ), [ruby/setup-ruby](https://github.com/ruby/setup-ruby ), [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/checkout` from 3.3.0 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](ac59398561...11bd71901b )
Updates `actions/cache` from 4.0.2 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](0c45773b62...0c907a75c2 )
Updates `actions/cache` from 4.0.2 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](0c45773b62...0c907a75c2 )
Updates `ruby/setup-ruby` from 1.180.0 to 1.221.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](ff740bc00a...32110d4e31 )
Updates `actions/cache` from 4.0.2 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](0c45773b62...0c907a75c2 )
Updates `actions/setup-node` from 4.0.2 to 4.2.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](60edb5dd54...1d0ff469b7 )
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](ac59398561...11bd71901b )
Updates `ruby/setup-ruby` from 1.180.0 to 1.221.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](ff740bc00a...32110d4e31 )
Updates `actions/upload-artifact` from 4.3.1 to 4.6.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 )
Updates `github/codeql-action` from 2 to 3
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-19 14:28:06 +02:00
Elias Nahum
b8c088cc70
Upgrade RN as well as update or replace other dependencies ( #8011 )
...
* start upgrade to RN 74
* migrate react-native-fs to expo-file-system
* exclude expo-asset module
* fix database manager remove directory
* fix: android network helper
* include expo on android
* temporarily disable android dep lock
* replace react-native-create-thumbnail with expo-video-thumnails
* update patches file version
* fix android build on 74
* create local library to replace MattermostManaged, Notifications and SplitView modules with new arch support
* migrate app to use new mattermost-rnutils library
* remove unused flipper class for android unsigned
* fix mattermost-rnutils android foldedObserver lifecycle
* use mattermost-rnutils on Android
* use mattermost-rnutils on iOS
* path react-native-navigation to not crash when activity is not NavigationActivity
* create local library for android share extension with new arch support
* Replace ShareModule with @mattermost/rnshare library
* remove ShareModule from android native code
* update react-intl
* update nodejs to 20.x.x npm to 10.x.x and dev deps
* update @gorhom/bottom-sheet
* use MattermostShare conditionally based on the platform
* update @react-native-camera-roll/camera-roll
* remove unused react-native-calendars
* fix metro config
* fix terminate session race condition
* remove unused analytics
* replace react-native-device-info with expo-application and expo-device
* update @react-native-clipboard/clipboard
* update @react-native-community/datetimepicker
* update @react-native-community/netinfo
* update @sentry/react-native
* update react-native-document-picker
* update react-native-gesture-handler
* update react-native-share
* update react-native-svg and react-native-svg-transformer
* update react-native-vector-icons
* update babel
* update react-native-shadow-2
* update semver
* remove react-native-svg-transformer and convert svg files to svg components
* fix @mattermost/rnshare new-arch build on android
* remove react-native-create-thumbnail resolution in build.gradle
* create @mattermost/hardware-keyboard library to replace hw-keyboard-events
* fix hardware-keyboard library
* fix rnutils library
* create @mattermost/keyboard-tracker library
* replace react-native-keyboard-tracking-view with @mattermost/keyboard-tracker
* fix: rnutils to not crash on lateinit context
* fix: rnutils delete database
* revert changes to session_manager
* Removed react-native-webview and added expo-web-browser instead
With expo-web-browser we no longer need the webview for SSO login
the SSO login is now done by using "custom Chrome tabs" on Android
and ASWebAuthenticationSession on iOS
* remove patch for react-native-keyboard-tracking-view
* replace react-native-linear-gradient with expo-linear-gradient
* replace react-native-in-app-review with expo-store-review
* fix: shared group database directory on ios
* replace react-native-fast-image with expo-image
* remove unusued type def for react-native-keyboard-tracking-view
* replace react-native-elements and react-native-button with @rneui
* node version
* update sizzling methods
* fix tests using jest-expo
* replace jail-monkey with expo-device
* update babel deps
* update typescript eslint
* update rn and expo
* react-native-document-picker @react-native-camera-roll/camera-roll @react-native-community/datetimepicker react-native-reanimated react-native-safe-area-context
* update patches
* update @sentry/react-native
* upgrade react-native-navigation
* update expo & expo-image
* upgrade to working version of @sentry/react-native
* update node, cocoapods, bundler, fastlane versions
* @testing-library/react-native and eslint-plugin-jest
* fix: FloatingTextInput causing a crash with reanimated
* update sentry, localize, @types/lodash and uuid
* fix floating text input label
* update react-native-video
* fix: cannot calculate shadow efficiently on some components
* fix: reduce motion warning for bottomSheet
* fix: shadow on YouTube component
* update react-native-webrtc expo and @typescript-eslint
* audit fix
* fix swizzling bad merge
* temp use of github dependency for @mattermost libraries
* feedback review
* feedback review
* npm audit fix
* update bundle deps
* update @mattermost/react-native-turbo-log
* update deps
2024-06-19 09:33:45 +08:00
yasserfaraazkhan
f46ddb49d0
Add workflow to run detox iOS tests ( #7878 )
2024-06-04 22:42:58 +05:30
Christopher Poile
d4f3590638
add ci checks to main and release branches ( #7670 )
2023-11-17 21:23:18 +08:00
Antonis Stamatiou
8d475d8a36
feat: Migrate to Github Actions ( #7394 )
2023-06-08 16:02:59 +03:00