Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update orbitdb #2600

Open
wants to merge 85 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
2d1c33b
WIP: Update OrbitDB/IPFS/libp2p
leblowl Aug 21, 2024
003e94a
Various updates
leblowl Aug 30, 2024
f6b24b4
Various updates
leblowl Sep 3, 2024
89d8bd9
Fixes
leblowl Sep 4, 2024
724e60a
Updates
leblowl Sep 9, 2024
191514c
Clean up NestJS modules and fix storage.service tests
leblowl Sep 13, 2024
75d5281
Fixes, mostly around restarting app
islathehut Sep 19, 2024
aeab85b
Use custom storage to ensure we write data as Uint8array + rename Orb…
islathehut Sep 19, 2024
a68eb6b
Ignore logs
islathehut Sep 19, 2024
91f2e97
More storage related stuff
islathehut Sep 19, 2024
3be6240
(Maybe) fix the ping issue and mild refactor for my sanity
islathehut Sep 23, 2024
f6682f1
Fix reconnections and update logging
islathehut Sep 23, 2024
262b19e
Get desktop to run without the customevent flag
islathehut Oct 1, 2024
bbacc19
Mobile testing
islathehut Sep 26, 2024
22f7a3e
Ensure mobile can function with JS customevents
islathehut Sep 26, 2024
3bcf6c3
Merge branch 'develop' into update-orbitdb
Oct 1, 2024
533e1de
Fix for issue with not having all blocks
islathehut Oct 3, 2024
f5977bd
Merge branch 'update-orbitdb' of github.com:TryQuiet/quiet into updat…
islathehut Oct 3, 2024
1b8352f
Fix common tests
islathehut Oct 3, 2024
03069bf
Fix almost all tests on the backend, etc.
islathehut Oct 4, 2024
b93bd3b
Fix for customevent errors in ci tests
islathehut Oct 4, 2024
2ff48eb
Fix state manager test and backend test node options
islathehut Oct 4, 2024
6e2c387
Update class-validator
islathehut Oct 4, 2024
95564cc
Test mac e2e ci issue
islathehut Oct 4, 2024
96fa124
Fix tor binary dir issue in ci
islathehut Oct 4, 2024
3301d5d
Try again
islathehut Oct 4, 2024
0695992
Random fixes for e2e tests
islathehut Oct 5, 2024
3a82643
Fix file manager
islathehut Oct 7, 2024
7ed5ac5
Fix code scanning alert no. 1: Insecure randomness
Oct 7, 2024
69c0ba5
Some digging on why the backend process isn't starting on linux
islathehut Oct 7, 2024
56e8d40
Not sure why this didn't show up as errors in vscode
islathehut Oct 7, 2024
04e8801
Get fork argv
islathehut Oct 7, 2024
acbfccf
Remove debug code and add patch for connection monitor
islathehut Oct 7, 2024
2edac31
Log everything
islathehut Oct 7, 2024
3c81088
Remove env variables as test
islathehut Oct 7, 2024
de360da
Fix url scheme handler error on linux
islathehut Oct 7, 2024
985a19f
Remove debug logging
islathehut Oct 7, 2024
017d6c9
Trying something
islathehut Oct 7, 2024
dedf580
See if we can bypass error I'm seeing on linux
islathehut Oct 7, 2024
2cc9a40
Put logs back to a sane level
islathehut Oct 7, 2024
784f71c
Reorder e2e test cases so we can guarantee everything has a chance to…
islathehut Oct 7, 2024
bcb9a2a
Updating dependencies for mobile
islathehut Oct 18, 2024
0ddc84f
Add helia as a package
islathehut Oct 23, 2024
0e53a9b
Revert "Updating dependencies for mobile"
islathehut Oct 23, 2024
7a9a1c3
Some minor updates
islathehut Oct 24, 2024
b391aec
Merge branch 'develop' into update-orbitdb
islathehut Oct 24, 2024
eebacb2
Fix logging and get rid of annoying malformed rn-bridge error on back…
islathehut Oct 24, 2024
09c1485
Cleanup, fix ios resume, add volta params
islathehut Oct 28, 2024
c7e2d2d
Ensure helia is bootstrapped in CI
islathehut Oct 28, 2024
60604dd
Merge branch 'develop' into update-orbitdb
islathehut Oct 28, 2024
f0cda5d
Merge branch 'develop' into update-orbitdb
islathehut Oct 28, 2024
872e55a
Fix up closing and make sure tests exit when they finish
islathehut Oct 30, 2024
6c1ff38
E2E test updates
islathehut Nov 4, 2024
36ca305
Merge branch 'develop' into update-orbitdb
islathehut Nov 4, 2024
be5c80c
Merge branch 'develop' into update-orbitdb
islathehut Nov 4, 2024
968c249
Fix the duplicated/unregistered bug
islathehut Nov 4, 2024
2243b22
Invitation link is failing consistently so do it last
islathehut Nov 5, 2024
9e50e2c
Try macos-14
islathehut Nov 5, 2024
4615671
Update CSRs test since the order that orbitdb returns events in changed
islathehut Nov 5, 2024
21e8fae
Fix jest issue
islathehut Nov 5, 2024
6cf7b32
Fix connection manager tests
islathehut Nov 5, 2024
b047af2
Use macos-13
islathehut Nov 7, 2024
4828359
Log test name on all test cases in e2e
islathehut Nov 7, 2024
85578ec
Reformat and update back compat version
islathehut Nov 7, 2024
ad58cae
Don't run back compat tests on this branch
islathehut Nov 7, 2024
accab6f
Add log to invitation
islathehut Nov 7, 2024
374604d
Remove empty if
islathehut Nov 8, 2024
f9125fd
Add back old xdg-settings call
islathehut Nov 8, 2024
283d324
Get branch correctly on CI
islathehut Nov 8, 2024
0ba2808
Fix vulnerable dependencies
islathehut Nov 8, 2024
609bdff
Do a better job - why didn't they upgrade a vulnerable package when r…
islathehut Nov 8, 2024
eccc7fc
Check something
islathehut Nov 8, 2024
b417d7f
Try something again
islathehut Nov 8, 2024
3c657cb
Try this method
islathehut Nov 8, 2024
cc172b3
Not
islathehut Nov 8, 2024
b7d9588
Test
islathehut Nov 8, 2024
3832532
Update e2e-linux.yml
islathehut Nov 8, 2024
77eb520
Update e2e-linux.yml
islathehut Nov 8, 2024
56da07c
remove print statement
islathehut Nov 8, 2024
e3dbecb
Use windows latest
islathehut Nov 8, 2024
6c44083
Use windows latest large
islathehut Nov 8, 2024
ba8934a
Switch back
islathehut Nov 8, 2024
8ff55c5
Remove node_datachannel references
islathehut Nov 13, 2024
d58c7cc
Remove inaccurate comments
islathehut Nov 13, 2024
c91145e
Remove unnecessary changes
islathehut Nov 13, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2019]
os: [ubuntu-20.04, macos-13, windows-2019]

steps:
- uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
if: steps.filter.outputs.backend == 'true'
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.backend == 'true'
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
if: steps.filter.outputs.backend == 'true'
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.backend == 'true'
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
if: steps.filter.outputs.backend == 'true'
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.backend == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-desktop-visual-regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.desktop == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Publish to Chromatic"
uses: chromaui/action@355e2a05a179e9e89c2b237dcd55adbeb89e577e # v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
uses: ./.github/actions/setup-env
if: ${{ runner.os != 'Windows' }}
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,@quiet/mobile,e2e-tests,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,@quiet/mobile,e2e-tests,backend-bundle,helia"

- name: "Setup environment for Windows"
uses: ./.github/actions/setup-env
if: ${{ runner.os == 'Windows' }}
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,e2e-tests,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,e2e-tests,backend-bundle,helia"

- name: "Lint"
if: ${{ runner.os != 'Windows' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/desktop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: Install libfuse
run: sudo apt install libfuse2
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

build-macos:
# needs: run-e2e-tests-mac
runs-on: macos-12
runs-on: macos-13
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')

Expand All @@ -124,7 +124,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: Before build
uses: ./.github/actions/before-build
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: Before build
uses: ./.github/actions/before-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/desktop-rtl-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, macos-12]
os: [ubuntu-20.04, macos-13]

steps:
- uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.filter.outputs.validFiles == 'true'
with:
cachePrefix: "desktop-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Desktop - state-manager bracket tests"
if: steps.filter.outputs.validFiles == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-test-scroll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.desktop == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Install libs"
if: steps.filter.outputs.desktop == 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/desktop-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, macos-12]
os: [ubuntu-20.04, macos-13]

steps:
- uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
if: steps.filter.outputs.desktop == 'true'
with:
cachePrefix: "desktop-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.desktop == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
detox-android:
timeout-minutes: 25
runs-on: [macos-14-xlarge]
runs-on: [macos-13-xlarge]

steps:
- uses: actions/checkout@v4
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
DISPLAY: ":99.0"
TEST_MODE: true
IS_CI: true
SKIP_BACK_COMPAT_TEST_BRANCHES: '["update-orbitdb"]'

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand All @@ -32,7 +33,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-linux"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: Run X11
run: |
Expand All @@ -55,19 +56,19 @@ jobs:
max_attempts: 3
command: cd packages/e2e-tests && npm run test oneClient.test.ts

- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
- name: Run user profile test
uses: nick-fields/retry@v2
with:
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test multipleClients.test.ts
command: cd packages/e2e-tests && npm run test userProfile.test.ts

- name: Run user profile test
uses: nick-fields/retry@v2
- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test userProfile.test.ts
command: cd packages/e2e-tests && npm run test multipleClients.test.ts

- name: Run invitation link test - Includes 2 separate application clients
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
Expand All @@ -78,7 +79,10 @@ jobs:

- name: Run Backwards Compatibility test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
if: ${{ !contains(fromJson(env.SKIP_BACK_COMPAT_TEST_BRANCHES), github.head_ref) }}
with:
timeout_minutes: 15
max_attempts: 3
command: cd packages/e2e-tests && npm run test backwardsCompatibility.test.ts
command: |
echo "Running backwards compatibility test for branch $GITHUB_HEAD_REF"
cd packages/e2e-tests && npm run test backwardsCompatibility.test.ts
20 changes: 10 additions & 10 deletions .github/workflows/e2e-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: E2E Mac
on: [workflow_call]
jobs:
mac:
runs-on: macos-12
runs-on: macos-13
timeout-minutes: 180
env:
TEST_MODE: true
Expand All @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-mac"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: Before build
uses: ./.github/actions/before-build
Expand Down Expand Up @@ -53,19 +53,19 @@ jobs:
- name: Add App file to applications
run: cd ~ && cp -R "/Volumes/Quiet $VERSION/Quiet.app" /Applications

- name: Run invitation link test - Includes 2 separate application clients
- name: Run one client test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 25
timeout_minutes: 15
max_attempts: 3
command: cd packages/e2e-tests && npm run test invitationLink.test.ts
command: cd packages/e2e-tests && npm run test oneClient.test.ts

- name: Run one client test
- name: Run user profile test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 15
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test oneClient.test.ts
command: cd packages/e2e-tests && npm run test userProfile.test.ts

- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
Expand All @@ -74,9 +74,9 @@ jobs:
max_attempts: 3
command: cd packages/e2e-tests && npm run test multipleClients.test.ts

- name: Run user profile test
- name: Run invitation link test - Includes 2 separate application clients
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 25
max_attempts: 3
command: cd packages/e2e-tests && npm run test userProfile.test.ts
command: cd packages/e2e-tests && npm run test invitationLink.test.ts
15 changes: 7 additions & 8 deletions .github/workflows/e2e-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-windows"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests,helia"

- name: "Fetch jsign"
shell: bash
Expand Down Expand Up @@ -102,19 +102,18 @@ jobs:
shell: bash
command: cd packages/e2e-tests && npm run test userProfile.test.ts

- name: Run invitation link test - Includes 2 separate application clients
- name: Run multiple clients test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 10
timeout_minutes: 30
max_attempts: 3
shell: bash
command: cd packages/e2e-tests && npm run test invitationLink.test.ts

command: cd packages/e2e-tests && npm run test multipleClients.test.ts

- name: Run multiple clients test
- name: Run invitation link test - Includes 2 separate application clients
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
with:
timeout_minutes: 30
timeout_minutes: 10
max_attempts: 3
shell: bash
command: cd packages/e2e-tests && npm run test multipleClients.test.ts
command: cd packages/e2e-tests && npm run test invitationLink.test.ts
4 changes: 2 additions & 2 deletions .github/workflows/identity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2019]
os: [ubuntu-20.04, macos-13, windows-2019]

steps:
- uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.identity == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/types,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/types,@quiet/identity,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.identity == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,backend-bundle,helia"

- name: 'Run tests'
run: lerna run test-ci --scope integration-tests --stream
2 changes: 1 addition & 1 deletion .github/workflows/mobile-build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: "Create gradle configuration directory"
run: mkdir -p $HOME/.gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-deploy-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: "Create gradle configuration directory"
run: mkdir -p $HOME/.gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-deploy-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "deploy-ios"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: Install pod dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle,helia"

- name: "Unit tests"
run: lerna run test --scope @quiet/mobile --stream
4 changes: 2 additions & 2 deletions .github/workflows/state-manager-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, macos-12]
os: [ubuntu-20.04, macos-13]

steps:
- uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-env
if: steps.filter.outputs.stateManager == 'true'
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,helia"

- name: "Unit tests"
if: steps.filter.outputs.stateManager == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/utils-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2019]
os: [ubuntu-20.04, macos-13, windows-2019]

steps:
- name: "Print OS"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ c4/workspace.json
.vscode
packages/.DS_Store
.idea
*.log
5 changes: 5 additions & 0 deletions .husky/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

nvm use
Loading
Loading