Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,26 @@

jobs:
check_pr:
runs-on: ubuntu-latest
runs-on: public
strategy:
matrix:
node-version: [24.x]
steps:
- uses: actions/checkout@v6
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install Linux build tools
run: sudo apt-get update && sudo apt-get install -y build-essential
- name: Install && Build - SDK and Sample App
uses: ./.github/actions/install-and-build-sdk
- name: Lint
run: yarn lint
- name: Typecheck tests
run: yarn workspace stream-chat-react-native-core test:typecheck
- name: Test
run: yarn test:coverage

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
4 changes: 1 addition & 3 deletions .github/workflows/sample-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

build_and_deploy_android_firebase:
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
runs-on: ubuntu-latest
runs-on: public
strategy:
matrix:
node-version: [24.x]
Expand All @@ -73,8 +73,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install Linux build tools
run: sudo apt-get update && sudo apt-get install -y build-essential
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
Expand Down
2 changes: 2 additions & 0 deletions package/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

module.exports = {
globalSetup: './jest-global-setup.js',
// cap worker count on CI
...(process.env.CI ? { maxWorkers: 2 } : {}),
moduleNameMapper: {
'mock-builders(.*)$': '<rootDir>/src/mock-builders$1',
},
Expand Down