Commit graph

32579 commits

Author SHA1 Message Date
Marc Durdin
023345eadb
Merge pull request #15047 from keymanapp/maint/resources/npm-publish-set-flags
maint(resources): set build flags for npm-publish
2025-10-29 12:25:54 +01:00
Marc Durdin
f29133d0ba maint(resources): set build flags for npm-publish
Test-bot: skip
Build-bot: skip
2025-10-29 12:09:38 +01:00
Keyman Server
1ff4a93593
Merge pull request #15046 from keymanapp/auto/version-master-19.0.150
auto: increment master version to 19.0.150
2025-10-29 11:51:28 +01:00
Keyman Build Agent
530103e5d6 auto: increment master version to 19.0.150
Test-bot: skip
Build-bot: skip
2025-10-29 05:49:30 -05:00
Marc Durdin
2b767eba7f
Merge pull request #15045 from keymanapp/maint/resources/npm-publish-no-check-on-release
maint(resources): don't report status check on release builds for npm-publish
2025-10-29 11:47:14 +01:00
Marc Durdin
785a745f9b maint(resources): don't report status check on release builds for npm-publish
This matches the pattern from deb-packaging.yml. It would be worth
reviewing why the sha doesn't match up?

Build-bot: skip
Test-bot: skip
2025-10-29 11:38:20 +01:00
Keyman Server
36e1c3926b
Merge pull request #15044 from keymanapp/auto/version-master-19.0.149
auto: increment master version to 19.0.149
2025-10-29 11:05:16 +01:00
Keyman Build Agent
6b369fa295 auto: increment master version to 19.0.149
Test-bot: skip
Build-bot: skip
2025-10-29 05:02:42 -05:00
Marc Durdin
1098d46e12
Merge pull request #15042 from keymanapp/maint/resources/npm-publish-build-all-packages-first
maint(resources): npm publish - build all packages first
2025-10-29 10:39:39 +01:00
Marc Durdin
12511894ef chore(developer): skip git date test for shallow clones
If the repository is a shallow checkout, then the only commit will be
the most recent one, and the test will fail. We could lookup the date of
the most recent test, but it's a pretty meaningless test, so instead we
will skip the test in this scenario.

For example, this happens on GitHub Actions when we do a shallow
checkout. The only risk we have is if we move all builds to shallow
checkouts and end up always skipping this test, but (a) the code is
unlikely to change, and (b) issuse would be  picked up on local builds
in that situation pretty quickly.
2025-10-29 10:30:27 +01:00
Marc Durdin
dd20ad068e maint(developer): reduce coverage threshold for node 24 for dev-utils
I am not entirely clear why the coverage dropped, but I suspect it's due
to code paths that are not activated in node 24. For now, just dropping
coverage threshold to 40%.
2025-10-29 10:29:33 +01:00
Marc Durdin
ba9500826d maint(resources): add npm pack/publish to pr-build-status bot 2025-10-29 10:29:14 +01:00
Marc Durdin
f9b25890b6 maint(resources): add meson and emscripten setup to npm-publish
Also splits the build and publish steps so all packages are built before
first is published, as publishing stomps on package.json files, which
makes subsequent builds trickier.

This needs to be merged to master in order for the action steps to pass.

Build-bot: skip
Test-bot: skip
2025-10-29 10:27:29 +01:00
Darcy Wong
a45e7dccf7
Merge pull request #14989 from keymanapp/chore/common/consolidate-test-keyboards
chore(web,android): Consolidate chirality.js test keyboard to `/common/test/resources/keyboards/`
2025-10-29 06:42:40 +07:00
Keyman Server
08db299aee
Merge pull request #15043 from keymanapp/auto/version-master-19.0.148
auto: increment master version to 19.0.148
2025-10-28 19:06:42 +01:00
Keyman Build Agent
2176b13169 auto: increment master version to 19.0.148
Test-bot: skip
Build-bot: skip
2025-10-28 13:02:36 -05:00
Marc Durdin
5f538c88c3
Merge pull request #15041 from keymanapp/maint/resources/npm-publish-skip-nvm
maint(resources): skip nvm in npm-publish script
2025-10-28 15:31:40 +01:00
Marc Durdin
3040c72174 maint(resources): skip nvm in npm-publish script
Test-bot: skip
Build-bot: skip
2025-10-28 15:28:24 +01:00
Marc Durdin
01a832f67d
Merge pull request #15039 from keymanapp/maint/resources/npm-publish-status-write
maint(resources): add write permission for statuses for npm-publish
2025-10-28 15:14:21 +01:00
Marc Durdin
a4779a7f93 maint(resources): add write permission for statuses for npm-publish
Build-bot: skip
Test-bot: skip
2025-10-28 15:04:19 +01:00
Marc Durdin
e20eb7b4db
Merge pull request #15038 from keymanapp/maint/resources/npm-publish-build-first
maint(resources): add build and test for npm packaging and add status check results
2025-10-28 15:00:04 +01:00
Marc Durdin
b582e3c0fb maint(resources): improve reporting of status for npm-publish
Build-bot: skip
2025-10-28 14:14:42 +01:00
Marc Durdin
17cc7fd321 maint(resources): fix build call in npm-publish 2025-10-28 13:41:55 +01:00
Marc Durdin
fe7209cdeb maint(resources): verify keyman_root 2025-10-28 13:40:48 +01:00
Marc Durdin
f1368dd418 maint(resources): rename npm-publish workflow and give detailed title 2025-10-28 13:34:37 +01:00
Marc Durdin
7e1d38b498
Merge pull request #15028 from keymanapp/maint/mac/tweak-macos-env
maint(mac): minor tweaks to mac setup, using build.sh
2025-10-28 13:31:39 +01:00
Marc Durdin
49161075f3 maint(resources): lower case npm 2025-10-28 13:30:57 +01:00
Marc Durdin
0f6b4d52e0 maint(resources): add commit status check for npm-publish
Build-bot: skip release:developer
2025-10-28 13:29:40 +01:00
Marc Durdin
c282e557c4 maint(resources): add build and test for npm packaging
Test-bot: skip
Build-bot: skip release:developer
2025-10-28 13:10:04 +01:00
Marc Durdin
5eb8df1cff
Merge pull request #15037 from keymanapp/maint/resources/gha-npm-publish-set-env
maint(resources): set env variables in npm publish GHA
2025-10-28 11:33:37 +01:00
Marc Durdin
844219f2cb maint(resources): set env variables in npm publish GHA
Test-bot: skip
Build-bot: skip
2025-10-28 11:14:22 +01:00
Marc Durdin
af858fc3eb
Merge pull request #15036 from keymanapp/maint/resources/npm-publish-ver-string
maint(resources): use a string for version, rather than number
2025-10-28 09:03:26 +01:00
Marc Durdin
794faedbde maint(resources): remove gh status check for npm-publish
Build-bot: skip
2025-10-28 09:00:40 +01:00
Marc Durdin
fe484826ac maint(resources): use a string for version, rather than number
Test-bot: skip
Build-bot: skip
2025-10-28 08:59:27 +01:00
Marc Durdin
9f521cfccc
Merge pull request #15035 from keymanapp/maint/resources/npm-publish-npm-i-non-global
maint(resources): use actions/setup-node to upgrade npm
2025-10-28 08:49:33 +01:00
Marc Durdin
971d67e266 maint(resources): use actions/setup-node to upgrade npm
We don't have permissions to use `npm install --global npm` to get a
specific version, but this action is supported by GH so should be fine.

It remains to be seen if there will be other compatibility issues due to
being a later version of Node than what we are using in v19.

Build-bot: skip
Test-bot: skip
2025-10-28 08:12:15 +01:00
Marc Durdin
fe6e8e72a8
Merge pull request #15029 from keymanapp/maint/resources/14963-npm-publish-on-gha
maint(resources): move npm package publishing to GitHub Actions
2025-10-28 07:57:35 +01:00
Keyman Server
a463d1b1fa
Merge pull request #15032 from keymanapp/auto/version-master-19.0.147
auto: increment master version to 19.0.147
2025-10-27 19:04:00 +01:00
Keyman Build Agent
d7d2a2810c auto: increment master version to 19.0.147
Test-bot: skip
Build-bot: skip
2025-10-27 13:01:50 -05:00
Marc Durdin
ba411774f6 maint(resources): move NPM package publishing to GitHub Actions
Due to recent changes in NPM package publishing security requirements,
we have to move from TeamCity build to a GitHub Action to publish our
NPM packages, so we can take advantage of trusted publishing. This
change also consolidates and centralizes the npm publishing into
resources/build/ci/npm-publish.sh, which removes a lot of boilerplate
from each of the build.sh scripts, and ensures consistency.

Packages will be `npm pack`ed on PR and test builds, and published in
release builds.

Ref: https://docs.npmjs.com/trusted-publishers
Ref: https://github.blog/changelog/2025-09-29-strengthening-npm-security-important-changes-to-authentication-and-token-management/
Fixes: #14963
Test-bot: skip
Build-bot: release:developer
2025-10-27 16:31:55 +01:00
Marc Durdin
4a685ba8aa
Merge pull request #15021 from cvosoft/test/add-osk-character-use-warnings
test(developer): add coverage tests for warning messages in kmc-analyze/AnalyzeOskCharacterUse
2025-10-27 16:00:41 +01:00
Marc Durdin
89f0aed697
Merge pull request #15022 from keymanapp/fix/developer/11909-prevent-ansi-keyboards-crashing-debugger
fix(developer): prevent ANSI keyboards crashing debugger
2025-10-27 15:41:47 +01:00
Marc Durdin
b653f32a54
Merge pull request #15008 from keymanapp/fix/mac/15007-ignore-ansi-kvk
fix(mac): ignore non-Unicode key caps when preparing OSK
2025-10-27 15:41:35 +01:00
Christoph Völker
368766acdc test(kmc-analyze): fix import paths and order 2025-10-27 14:05:13 +01:00
Marc Durdin
1d223908ff maint(mac): minor tweaks to mac setup, using build.sh
Build-bot: skip
Test-bot: skip
2025-10-27 09:10:33 +01:00
Christoph Völker
469149e72d test(kmc-analyze): add message coverage tests for AnalyzeOskCharacterUse 2025-10-27 08:36:56 +01:00
Christoph Völker
07c13e81ac test(kmc-analyze): add message coverage tests for AnalyzeOskCharacterUse 2025-10-25 07:38:28 +02:00
Marc Durdin
1e8e3587cf
Merge branch 'master' into test/add-osk-character-use-warnings 2025-10-25 06:15:48 +02:00
Keyman Server
a5b55715d6
Merge pull request #15025 from keymanapp/auto/version-master-19.0.146
auto: increment master version to 19.0.146
2025-10-24 20:03:52 +02:00
Keyman Build Agent
fc87ef38aa auto: increment master version to 19.0.146
Test-bot: skip
Build-bot: skip
2025-10-24 13:01:38 -05:00