Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
86005c9
fix: order by with coalesce was removed
Bilb Jan 19, 2026
c3a8919
chore: create indexes to speed up search & openconvo
Bilb Jan 19, 2026
ebfacac
fix: make sure highlight animation works on quote click
Bilb Jan 19, 2026
721e3ff
chore: migrate to pnpm
Aerilym Jan 20, 2026
b1d9b6f
chore: add pnpm version to package.json
Aerilym Jan 20, 2026
e546266
chore: add recursive submodule clone
Aerilym Jan 20, 2026
b3c056e
chore: build protobufs before running lint
Aerilym Jan 20, 2026
3d74697
fix: remove unit test bin copy
Aerilym Jan 20, 2026
1e6d3dc
chore: lint
Aerilym Jan 20, 2026
790944f
chore: update all build targets to pnpm
Aerilym Jan 20, 2026
0fa6af9
chore: move git checkout to main workflow
Aerilym Jan 20, 2026
b640755
chore: add shell to setup action
Aerilym Jan 20, 2026
13f94b4
fix: enable windows long paths in actions
Aerilym Jan 20, 2026
a5f0c24
chore: set pnpm to node-linker hoisted for windows
Aerilym Jan 20, 2026
f779587
chore: add windows long path mode to setup
Aerilym Jan 20, 2026
99fdd9e
chore: mac build realease use pnpm
Aerilym Jan 20, 2026
60051ef
fix: speed up message search and other database calls
Bilb Jan 20, 2026
ad0c2e1
chore: remove pnpm hoisted node linker
Aerilym Jan 20, 2026
42078d4
chore: enforce linting before building on workflows
Aerilym Jan 20, 2026
81d9aa8
chore: add node-linker hoisted compatible test setup
Aerilym Jan 20, 2026
0905472
chore: update docs with pnpm info
Aerilym Jan 20, 2026
739a400
chore: wrapped more sql queries in analyser
Bilb Jan 20, 2026
b83ef56
fix: added on save mentionedUs for messages
Bilb Jan 20, 2026
6d83387
chore: change workflow cache ref
Aerilym Jan 21, 2026
92c4d2f
fix: speed up search messages using rank
Bilb Jan 21, 2026
fa99ab0
fix: order by rank and then timestamp
Bilb Jan 21, 2026
1162c3f
fix: emoji panel escape key not working
Aerilym Jan 22, 2026
9cded51
fix: return after closing emoji panel
Aerilym Jan 22, 2026
da877f9
Merge pull request #1789 from session-foundation/fix/emoji_panel
Bilb Jan 22, 2026
f5084f8
chore: merge origin/dev into chore/pnpm
Aerilym Jan 22, 2026
f320945
chore: bump libsession version in pnpm-lock
Aerilym Jan 23, 2026
67768ff
chore: cleanup dev dependencies
Aerilym Jan 23, 2026
67b793f
chore: merge origin/dev into chore/pnpm
Aerilym Jan 23, 2026
bd7fb81
fix: animate right panel and remove it from the dom when closed
Aerilym Jan 23, 2026
d04e3c9
Merge pull request #1794 from session-foundation/fix/animate_right_panel
Bilb Jan 23, 2026
4b9a303
Merge remote-tracking branch 'upstream/dev' into fix-orderby-clauses
Bilb Jan 27, 2026
b9d4de4
chore: lint
Bilb Jan 27, 2026
61828c1
fix: edit group name cancel button logic
Bilb Jan 27, 2026
d81457f
fix: crashing/force stop will loading main window does no zombie
Bilb Jan 27, 2026
4c98085
chore: add message seeding + speed up initial load
Bilb Jan 27, 2026
84764de
chore: db generic improvements
Bilb Jan 28, 2026
0edffce
Merge remote-tracking branch 'upstream/dev' into fix-orderby-clauses
Bilb Jan 28, 2026
b151ba2
fix: removed coalesceForSentOnly
Bilb Jan 28, 2026
2fd99cc
chore: make snippets generated on the fly
Bilb Jan 28, 2026
0cf5cd0
Merge remote-tracking branch 'upstream/dev' into fix-orderby-clauses
Bilb Jan 28, 2026
fabb738
Merge remote-tracking branch 'upstream/master' into fix-orderby-clauses
Bilb Jan 28, 2026
682724a
fix: remove the deb breaking update
Bilb Jan 28, 2026
a017b04
fix: scroll to top of result on query change
Bilb Jan 28, 2026
3c9a368
fix: add stored prefix for fts5 1,2
Bilb Jan 28, 2026
d708bc7
chore: do not count stats of message_fts as it is virtual and slow
Bilb Jan 28, 2026
0c3b505
fix: speed up initial convo controller load
Bilb Jan 28, 2026
ed91e83
chore: cleanup before review
Bilb Jan 28, 2026
ddb46e4
fix: do not crash if closing password window while loading
Bilb Jan 28, 2026
894ba1d
chore: rename message_seeding.ts to db_seeding.ts
Bilb Jan 28, 2026
3d67ed6
chore: lint
Bilb Jan 29, 2026
e46a3f4
fix: allow to pick the faked avatar color for test integration
Bilb Jan 29, 2026
1ca1f85
Merge pull request #1804 from session-foundation/fix-allow-test-chang…
Bilb Jan 29, 2026
d5c0a07
fix: feature flag avatar picker default to blue
Bilb Jan 29, 2026
b6097bb
fix: use cacheStatements for sqlcipher
Bilb Jan 29, 2026
88e930d
Merge remote-tracking branch 'upstream/master' into dev
Bilb Jan 29, 2026
61eeda5
Merge branch 'dev' into fix-orderby-clauses
Bilb Jan 29, 2026
aab7191
chore: pr review fixes
Bilb Jan 29, 2026
e484285
Merge pull request #1781 from session-foundation/fix-orderby-clauses
Bilb Jan 29, 2026
557c2d2
chore: dedupe pnpm and update CI
Aerilym Jan 29, 2026
c6df216
chore: merge remote-tracking branch 'origin/dev' into chore/pnpm
Aerilym Jan 29, 2026
0107b7d
Merge pull request #1780 from session-foundation/chore/pnpm
Bilb Jan 30, 2026
a6e1ed9
fix: more store vs platform_store fixes
Bilb Jan 30, 2026
6fa98c0
chore: add ccache for ci
Bilb Jan 30, 2026
01b36e4
fix: show pro CTA only after the first refresh happened
Bilb Jan 30, 2026
1fe9fa7
chore: removed a bunch of unused colors
Bilb Jan 30, 2026
c0b3b9c
fix: context menu triggers and keyboard nav
Aerilym Jan 30, 2026
b2cfcc7
chore: changed color names to better match figma's
Bilb Feb 1, 2026
4f4d301
chore: simplified theming for vars that are consts
Bilb Feb 2, 2026
5a99be9
chore: cleaned up themes a bit more
Bilb Feb 2, 2026
ae6a2e6
chore: merge all theme files into one, with dedup logic
Bilb Feb 2, 2026
45de726
chore: cleanup of borders for themes
Bilb Feb 2, 2026
3895b2f
fix: add accent icon color and use it
Bilb Feb 2, 2026
3f56de3
chore: add data-component to babel compile
Bilb Feb 2, 2026
e4ff6f2
chore: lint
Bilb Feb 2, 2026
48503f5
fix: allow to leave a group that has multiple admins
Bilb Feb 2, 2026
7b93074
fix: removing/changing avatar closes both modals
Bilb Feb 2, 2026
b2bae35
Merge pull request #1807 from session-foundation/chore-add-ccache-to-ci
Bilb Feb 2, 2026
588dd7b
Merge pull request #1813 from session-foundation/fix-changing-removin…
Bilb Feb 2, 2026
913586d
Merge pull request #1812 from session-foundation/fix-admin-leave-delete
Bilb Feb 2, 2026
98b447f
Merge pull request #1808 from session-foundation/fix-pro-qa-maybe-5
Bilb Feb 3, 2026
7a660fb
feat: rework popover content system
Aerilym Feb 4, 2026
68f33a6
chore: merge origin/dev into fix/context_menus
Aerilym Feb 4, 2026
a9f2e0e
fix: delete/leave/delete-local actions for groupv2
Bilb Feb 4, 2026
fa869d9
feat: add shortcuts for conversation and message actions
Aerilym Feb 4, 2026
bb61de5
Merge pull request #1819 from session-foundation/fix-leave-delete-gro…
Bilb Feb 4, 2026
5a189e8
fix: show nts in results even if hidden
Bilb Feb 5, 2026
4353eed
fix: force app exit when pino logger is messed up
Bilb Feb 5, 2026
8e1e853
chore: remove uneeded SUPER_DUPER fileserver
Bilb Feb 5, 2026
8f7bd83
Merge pull request #1821 from session-foundation/fix-nts-when-hidden
Bilb Feb 5, 2026
1613781
fix: do not crash when replying to a msg with pending attachment
Bilb Feb 5, 2026
c7e33d8
chore: use short polling interval during regression tests
Bilb Feb 5, 2026
a3e83d2
Merge pull request #1823 from session-foundation/chore-short-polling-…
Bilb Feb 5, 2026
d8c5456
Merge remote-tracking branch 'upstream/dev' into fix-quoting-pending-…
Bilb Feb 5, 2026
310fe15
chore: lint
Bilb Feb 5, 2026
eac447d
Merge pull request #1822 from session-foundation/fix-quoting-pending-…
Bilb Feb 5, 2026
e276e11
fix: unit test import failure with htmlcanvas
Bilb Feb 5, 2026
7f56ba6
Merge pull request #1824 from session-foundation/fix-unit-tests
Bilb Feb 5, 2026
a3ff7e1
fix: update react-contexify to use new fork
Aerilym Feb 5, 2026
21dc798
chore: create toggle conversation settings hook
Aerilym Feb 5, 2026
3a1bba2
Revert "fix: unit test import failure with htmlcanvas"
Bilb Feb 6, 2026
deb9c59
fix: community and pubkey pasting
Aerilym Feb 6, 2026
6ef47af
fix: group v2 & avatar profile name+desc save button appearance
Bilb Feb 6, 2026
0b529de
chore: renamed identifier to dbMessageIdentifier
Bilb Feb 6, 2026
203e075
fix: react compiler overly action hooks
Aerilym Feb 6, 2026
5f33680
fix: pr review
Bilb Feb 6, 2026
15ed3df
Merge pull request #1818 from session-foundation/fix/context_menus
Bilb Feb 6, 2026
1f4146a
Merge remote-tracking branch 'upstream/dev' into refactor-identifier-…
Bilb Feb 6, 2026
48bbf7d
Merge remote-tracking branch 'upstream/dev' into fix-profile-qa-issues
Bilb Feb 6, 2026
8db0208
fix: community settings modal closing
Aerilym Feb 6, 2026
f525806
Merge pull request #1827 from session-foundation/fix/community_convo_…
Bilb Feb 6, 2026
dcdd704
Merge pull request #1825 from session-foundation/fix-profile-qa-issues
Bilb Feb 8, 2026
8834632
Merge pull request #1826 from session-foundation/refactor-identifier-…
Bilb Feb 8, 2026
696c258
fix: derive char count from draft directly and use libsession fns
Bilb Feb 9, 2026
f229a40
fix: windows build with new electron-builder
Bilb Feb 9, 2026
8ba5020
Merge pull request #1831 from session-foundation/fix-character-count-2
Bilb Feb 10, 2026
f8ca5ac
fix: clamp swarm side so that we have an image for it
Bilb Feb 10, 2026
054629e
fix: send message req response with correct timestamp
Bilb Feb 11, 2026
c053684
fix: send quoted message reference not found first render
Bilb Feb 11, 2026
1ae8516
fix: ignore missing quoted attachment when quoting msg
Bilb Feb 11, 2026
e2e82a9
fix: do not remove link preview images on next start
Bilb Feb 11, 2026
56db37e
fix: change pw does not consider the correct input
Bilb Feb 11, 2026
05e60af
chore: update dynamic assets submodule
Bilb Feb 11, 2026
537eb2a
feat: added icons for all menus and matched figma order
Bilb Feb 12, 2026
e81df4e
chore: add notes about wayland and position mgmt
Bilb Feb 12, 2026
b54c7d3
Merge pull request #1833 from session-foundation/update-dynamic-assets
Bilb Feb 12, 2026
7c54bf3
fix: pw strenth criteria padding + position
Bilb Feb 12, 2026
1579dcb
fix: zooming shortcuts
Bilb Feb 12, 2026
0b6f301
fix: onion path button does not steal focus in settings
Bilb Feb 12, 2026
1a2c516
fix: circle of focus for status light is not an ellipse
Bilb Feb 12, 2026
3a75585
fix: outline when focus for actionpanel buttons
Bilb Feb 12, 2026
9e63f55
chore: add some data-testid to the quote items
Bilb Feb 12, 2026
cd1745f
chore: lint
Bilb Feb 12, 2026
95f038a
fix: do not allow to open kbd shortcut modal if lightbox is shown
Bilb Feb 12, 2026
98792a0
fix: outline of tooltip node for sessionIdEditable is correct
Bilb Feb 12, 2026
f81ebe2
fix: various small focus visible fixes
Bilb Feb 12, 2026
14653bd
fix: more keyboard shortcut tweaks
Bilb Feb 12, 2026
4d778ac
fix: more keyboard navigation fixes
Bilb Feb 13, 2026
a0d39a2
fix: textarea & input keyboard nav
Bilb Feb 13, 2026
0efc698
fix: cleanup menu keyboard navigation
Bilb Feb 13, 2026
12cee55
chore: updated focus visible styles and logic for a bunch
Bilb Feb 16, 2026
7990ea9
chore: moved captioneditor to redux + more keyboard changes
Bilb Feb 16, 2026
f2c7fec
fix: add keyboard shortcut to h5 player + filename in quotes
Bilb Feb 16, 2026
ea8cf66
chore: lint this was fun
Bilb Feb 16, 2026
f5b6e82
chore: update dynamic assets submodule
Bilb Feb 16, 2026
d8bb118
fix: regression tests are passing
Bilb Feb 17, 2026
89cd352
Merge pull request #1836 from session-foundation/update-dynamic-assets
Bilb Feb 17, 2026
9965fd1
Merge remote-tracking branch 'upstream/dev' into fix-regressions
Bilb Feb 17, 2026
2d41269
chore: update dynamic assets submodule
Bilb Feb 17, 2026
499c0f6
fix: recording actions react to keyboard enter&escape
Bilb Feb 17, 2026
a8f1252
Merge pull request #1841 from session-foundation/update-dynamic-assets
Bilb Feb 17, 2026
436173c
Merge remote-tracking branch 'upstream/dev' into fix-regressions
Bilb Feb 17, 2026
37d37b5
feat: space on recording plays audio
Bilb Feb 17, 2026
39deb40
fix: character count should be codepoints count
Bilb Feb 17, 2026
0e666ef
fix: no double msg send on enter on iconbutton
Bilb Feb 18, 2026
1522397
Merge remote-tracking branch 'upstream/master' into fix-regressions
Bilb Feb 18, 2026
22b853d
chore: bump to session 1.17.9
Bilb Feb 18, 2026
a05caf9
Merge pull request #1835 from session-foundation/fix-regressions
Bilb Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ ts/webworker/workers/node/util/util.worker.ts
ts/webworker/workers/node/libsession/libsession.worker.ts
ts/webworker/workers/node/image_processor/image_processor.worker.ts
dynamic_assets/
babel-plugins/**/*.js
19 changes: 19 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,25 @@ module.exports = {
ignoreComponentPatterns: ['^Motion', '^Animated'],
},
],
'no-restricted-syntax': [
'error',
{
selector: 'ForInStatement',
message:
'for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.',
},
{
selector: 'LabeledStatement',
message:
'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
},
{
selector: 'WithStatement',
message:
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
},
// Note: Removed ForOfStatement restriction
],
},
overrides: [
{
Expand Down
129 changes: 81 additions & 48 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# There is a fair bit of duplication here, but it is the best to save our github free minutes for now.
# We could save and restore cache to different jobs but that takes roughly 3 minutes to save,
# so better run them in parrallel instead.

name: Session Desktop

on:
Expand All @@ -10,14 +6,14 @@ on:
- master
- dev
- "release/**"
- "feature/**"
- "ci/**"
- feat/pro-libsession
pull_request:
branches:
- dev
- "release/**"
- "feature/**"
- "ci/**"
- feat/pro-libsession
workflow_dispatch:
inputs:
target_branch:
Expand All @@ -35,7 +31,7 @@ concurrency:

jobs:
create_draft_release_if_needed:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# we only want to publish on "push to master" or alpha releases. When we don't want to publish, we want to upload artefacts
Expand All @@ -48,7 +44,7 @@ jobs:
version_tag: ${{ steps.get_version.outputs.VERSION_TAG }}
steps:
- name: Checkout git repo
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
if: ${{ env.SHOULD_PUBLISH == 'true' || env.SHOULD_PUBLISH_ALPHA == 'true' }}
# We only need a few files in this run, no point cloning everything
with:
Expand Down Expand Up @@ -83,39 +79,69 @@ jobs:
omitBodyDuringUpdate: true
omitNameDuringUpdate: true

build_linux:
lint:
runs-on: ubuntu-22.04
timeout-minutes: 10

steps:
- name: Checkout git repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target_branch || github.ref }}
submodules: "recursive"

- name: Setup
uses: ./actions/setup
with:
cache_suffix: "linux_x64"

- name: Setup ESLint cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: .eslintcache
key: eslint-${{ hashFiles('pnpm-lock.yaml', 'patches/**', '.eslintrc.js', '.eslint/**') }}
restore-keys: |
eslint-

- name: Ensure pnpm-lock.yaml has no duplicates
run: pnpm dedupe --check

- name: Format & Lint
run: pnpm run lint

- name: Validate formatting & linting changed no files
run: git diff --exit-code

build_linux:
# We want to run the linux builds at the same time as linting for faster dev iteration
needs: [create_draft_release_if_needed]
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
# `electron_target` needs to be a valid target of https://www.electron.build/linux#target
include:
- identifier: deb
electron_target: deb
cache_suffix: linux-deb
is_qa: false
generate_release_metadata: true
- identifier: rpm
electron_target: rpm
cache_suffix: linux-rpm
is_qa: false
generate_release_metadata: true
- identifier: AppImage
electron_target: AppImage
cache_suffix: linux-AppImage
is_qa: false
generate_release_metadata: true
- identifier: freebsd
electron_target: freebsd
cache_suffix: linux-freebsd
is_qa: false
generate_release_metadata: false
# Note: this deb-qa is currently broken. The deb and deb-qa are currently overwriting each others
# during build-release-publish and maybe the upload-artefact too.
# - identifier: deb-qa
# electron_target: deb
# cache_suffix: linux-deb
# is_qa: true
# generate_release_metadata: false
name: "${{ matrix.identifier }}"
Expand All @@ -125,39 +151,34 @@ jobs:
USE_HARD_LINKS: false # see https://github.com/electron-userland/electron-builder/issues/7093

steps:
- run: git config --global core.autocrlf false

- name: Checkout git repo
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target_branch || github.ref }}
submodules: 'recursive'
submodules: "recursive"

- name: Setup
uses: ./actions/setup
with:
# All the x64 linux build run on the same machine so the setup cache is the same
cache_suffix: "linux_x64"

- name: Custom build for QA if needed
if: ${{ matrix.is_qa == true }}
uses: ./actions/sed_for_qa

- name: Setup & Build
uses: ./actions/setup_and_build
with:
cache_suffix: ${{ matrix.cache_suffix }}

- name: Lint Files
# no need to lint files on all platforms
run: yarn lint

- name: Enforce yarn.lock has no duplicates
uses: ./actions/deduplicate_fail
- name: Build
run: pnpm run build

# we want to test on all platforms since some are testing the rendered menus (and are dependent on the platform)
- name: Unit Test
run: yarn test
run: pnpm run test

- name: Make release build but do not publish ${{ matrix.identifier }}
# we do want this part to run only when version_tag is unset (i.e. we are not making a release)
if: ${{ needs.create_draft_release_if_needed.outputs.version_tag == '' }}
run: |
sed -i 's/"target": "deb"/"target": "${{ matrix.electron_target }}"/g' package.json && yarn build-release
sed -i 's/"target": "deb"/"target": "${{ matrix.electron_target }}"/g' package.json && pnpm run build-release

- name: Upload artefacts ${{ matrix.identifier }}
# we do want this part to run only when version_tag is unset (i.e. we are not making a release)
Expand All @@ -169,7 +190,7 @@ jobs:
- name: Make release build & publish ${{ matrix.identifier }}
if: ${{ needs.create_draft_release_if_needed.outputs.version_tag != '' }}
run: |
sed -i 's/"target": "deb"/"target": "${{ matrix.electron_target }}"/g' package.json && yarn build-release-publish
sed -i 's/"target": "deb"/"target": "${{ matrix.electron_target }}"/g' package.json && pnpm run build-release-publish

- name: Backup release metadata
# only run this on "push" to "master" or alpha releases
Expand Down Expand Up @@ -197,7 +218,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout git repo
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
# We only need a few files in this run, no point cloning everything
with:
sparse-checkout: |
Expand Down Expand Up @@ -233,32 +254,41 @@ jobs:

build_windows:
runs-on: windows-2022
needs: [create_draft_release_if_needed]
needs: [create_draft_release_if_needed, lint]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: "windows x64"
steps:
- run: git config --global core.autocrlf false
- run: git config --global core.eol lf

# Not having this will break the windows build because the PATH won't be set by msbuild.
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
if: runner.os == 'Windows'

- name: Checkout git repo
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target_branch || github.ref }}
submodules: 'recursive'
submodules: "recursive"

- name: Setup & Build
uses: ./actions/setup_and_build
- name: Setup
uses: ./actions/setup
with:
cache_suffix: "windows_x64"

- name: Build
run: pnpm run build

# we want to test on all platforms since some are testing the rendered menus (and are dependent on the platform)
- name: Unit Test
run: yarn test
run: pnpm run test-hoisted

- name: Make release build but do not publish
# always run this, except on "push" to "master" or alpha releases
if: ${{ needs.create_draft_release_if_needed.outputs.version_tag == '' }}
run: yarn build-release
run: pnpm run build-release

- name: Upload artefacts
# we do want this part to run only when version_tag is unset (i.e. we are not making a release)
Expand All @@ -269,7 +299,7 @@ jobs:

- name: Make release build & publish
if: ${{ needs.create_draft_release_if_needed.outputs.version_tag != '' }}
run: yarn build-release-publish # No other args needed for windows publish
run: pnpm run build-release-publish # No other args needed for windows publish

# We want both arm64 and intel mac builds, and according to this https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources macos-14 and above is always arm64 and macos-15 is the last intel runner
# NOTE x64 builds made on an arm64 host will not bundle the native modules correctly https://github.com/electron-userland/electron-builder/issues/8646
Expand All @@ -287,7 +317,7 @@ jobs:
runs-on: ${{ matrix.runner }}
name: "${{ matrix.architecture }}"

needs: [create_draft_release_if_needed]
needs: [create_draft_release_if_needed, lint]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAC_CERTIFICATE: ${{ secrets.MAC_CERTIFICATE }}
Expand All @@ -299,19 +329,22 @@ jobs:
- run: git config --global core.autocrlf false

- name: Checkout git repo
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target_branch || github.ref }}
submodules: 'recursive'
submodules: "recursive"

- name: Setup & Build
uses: ./actions/setup_and_build
- name: Setup
uses: ./actions/setup
with:
cache_suffix: ${{ matrix.cache_suffix }}

- name: Build
run: pnpm run build

# we want to test on all platforms since some are testing the rendered menus (and are dependent on the platform)
- name: Unit Test
run: yarn test
run: pnpm run test

- name: Make release build ${{ matrix.architecture }}
uses: ./actions/make_release_build
Expand All @@ -327,7 +360,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout git repo
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
# We only need a few files in this run, no point cloning everything
with:
sparse-checkout: |
Expand Down
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exit": true,
"spec": ["ts/test/**/*_test.js"],
"spec": ["app/ts/test/**/*_test.js"],
"require": ["jsdom-global/register"],
"timeout": 10000,
"recursive": true,
Expand Down
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ stylesheets/dist/**
ts/localization/generated/


dynamic_assets/populate_cache.js

dynamic_assets/**/*.js
dynamic_assets/**/*.js.map
2 changes: 0 additions & 2 deletions .yarnrc.yml

This file was deleted.

Loading