ammarahm-ed
7c7645c0c6
ci: fix release workflow
2023-02-15 14:02:14 +05:00
Abdullah Atta
9df44b1f3d
ci: update desktop workflow
2023-01-30 19:34:29 +05:00
ammarahm-ed
0a1059e0a4
ci: add workflow for internal testing on android
2023-01-24 14:39:50 +05:00
Abdullah Atta
a1440fd64c
ci: fix web tests ( #1624 )
2023-01-10 16:01:55 +05:00
Abdullah Atta
1fc0fd5694
web: use correct env variables for login tests
2023-01-06 17:44:07 +05:00
Abdullah Atta
9aad63a623
core: use correct env variables for login tests
2023-01-06 17:44:07 +05:00
Abdullah Atta
4374af79bc
ci: increase tests shards to 4
2023-01-04 12:43:28 +05:00
Abdullah Atta
aa27c27e8b
ci: fix altool command for deploying to testflight
2022-09-29 21:29:45 +05:00
Abdullah Atta
c81046081f
ci: specify full path to API_KEY
2022-09-29 21:13:18 +05:00
Abdullah Atta
cd9096d1a8
ci: change both APPLE_API_KEY env_vars
2022-09-29 20:26:17 +05:00
Abdullah Atta
2f5de8149d
ci: use api key name as APPLE_API_KEY
2022-09-29 20:14:29 +05:00
Abdullah Atta
f7ade8a4c3
ci: upload web app build artifact folder
2022-09-29 19:59:07 +05:00
Abdullah Atta
f200737e9b
ci: do not skip snapcraft publishing
2022-09-29 19:50:22 +05:00
Abdullah Atta
32283e973b
desktop: use custom fork of electron-builder-notarize
2022-09-29 19:46:41 +05:00
Abdullah Atta
ce889cf1c3
web: bump version to v2.2.1
2022-09-29 19:05:25 +05:00
Abdullah Atta
c19fed1d9f
ci: add proper env_vars for mac-os app notarization
2022-09-29 18:42:23 +05:00
Abdullah Atta
1b8dbb440b
ci: use -eq instead of == in powershell
2022-09-28 13:04:40 +05:00
Abdullah Atta
6b138958fe
ci: use $true for boolean comparison on windows
2022-09-28 12:56:56 +05:00
Abdullah Atta
03803cde6d
ci: publish arm64 & x64 builds for macOS
2022-09-28 12:31:59 +05:00
Abdullah Atta
de0bbff296
web: treat mac app store build specially
2022-09-28 12:13:37 +05:00
Abdullah Atta
5646b9249e
desktop: ready app for mac store submission ( #1057 )
...
* desktop: add support for publishing to mac app store
* ci: add step for deployment to testflight
* ci: temporarily run build only on macos
* config: cache `build:desktop` output in nx
* ci: use `macos-12` instead of `macos-latest`
* ci: no need to install `jq`
* ci: build & deploy manually
* ci: set env_vars using `env` key
* ci: install packages before building
* ci: build electron bundle before deployment
* ci: install distribution signing cert
* web: disable app store offending stuff for macos
* ci: enable deployment to testflight
* ci: remove cert installation to keychain
* desktop: pass entitlement files through plutil
* ci: use a single cert for everything
* ci: fix altool command for uploading macOS package
* ci: use env_vars for apiKey & apiIssuer
* ci: install provisionprofile
* ci: install provisioning profile in `./apps/web/desktop` dir
* desktop: change bundleId to `org.streetwriters.notesnook`
* ci: deploy & build in separate steps
* ci: add jobs for linux & windows releasing
* ci: checkout repo before anything else
* ci: add `GH_TOKEN` to env & use ps syntax on windows
* ci: get app store versions only for mac app
* ci: correct order of steps
Co-authored-by: ammarahm-ed <ammarahmed6506@gmail.com >
2022-09-28 12:00:33 +05:00
Abdullah Atta
977e0fd1c1
ci: publish to snapcraft manually
2022-09-23 12:01:34 +05:00
Abdullah Atta
4b138a5d42
ci: use SNAPCRAFT_STORE_CREDENTIALS instead of --with for snapcraft auth
2022-09-23 11:35:17 +05:00
Abdullah Atta
8ee1ccbc2b
ci: check for ubuntu for snapcraft installation instead of linux
2022-09-23 11:20:18 +05:00
Abdullah Atta
7b48499527
desktop: publish app to snapcraft
2022-09-23 11:13:35 +05:00
ammarahm-ed
c790275de3
ci: use github token for current repo
2022-09-22 14:33:59 +05:00
Abdullah Atta
2749d285e9
ci: GH_TOKEN -> GITHUB_TOKEN
2022-09-22 12:25:44 +05:00
ammarahm-ed
651c7ba180
ci: add secrets to workflow
2022-09-22 12:12:53 +05:00
Abdullah Atta
615ee0deba
ci: add web app publish workflow
2022-09-22 12:08:36 +05:00
Abdullah Atta
6ae8738353
ci: add input to make releasing optional
2022-09-22 12:08:36 +05:00
Abdullah Atta
ba084aa5de
ci: add desktop app publish workflow
2022-09-22 12:08:36 +05:00
Abdullah Atta
a36dae1d47
ci: use --prefer-offline to speed up builds
2022-09-21 14:11:28 +05:00
Abdullah Atta
6d75476e7c
web: optimize tests by ~120% ( #1018 )
...
This is mainly done via sharding, caching & reducing total work:
1. `terser` is turned off when generating test build
2. `nx` distributed cache allows reusing build outputs
3. `playwright` sharding allows running tests in parallel
This can further be improved by using `swc` & `esbuild` during build
2022-09-21 14:01:32 +05:00
ammarahm-ed
47204d6dee
Merge branch 'master' of https://github.com/streetwriters/notesnook
2022-09-21 09:30:20 +05:00
ammarahm-ed
6879dbcdf8
ci: add gh & playstore release
2022-09-21 09:30:08 +05:00
Ammar Ahmed
e5e965415d
feat: realtime & auto sync for all users ( #944 )
2022-09-20 18:33:55 +05:00
ammarahm-ed
fb1b71475e
ci: use scripts for build
2022-09-20 15:07:33 +05:00
ammarahm-ed
85a3b5f016
ci: add release commands
2022-09-20 14:45:41 +05:00
ammarahm-ed
8e2b7c4565
ci: rename workflow
2022-09-20 14:04:37 +05:00
ammarahm-ed
f2393b7f9a
mobile: add publish workflow file
2022-09-20 13:59:26 +05:00
Abdullah Atta
0af7fa463d
ci: use paths to all package-lock files for caching
2022-09-18 17:44:41 +05:00
Abdullah Atta
53ed42b028
ci: do not wrap user_password in single quotes
2022-09-16 09:04:20 +05:00
Abdullah Atta
0ae2c6cc17
ci: provide correct path for test-results dir
2022-09-16 00:31:03 +05:00
Abdullah Atta
78a5715757
ci: upload test results on failure for web.tests
2022-09-16 00:12:25 +05:00
Abdullah Atta
554e9758ed
ci: update web.tests workflow to run the new test suite
2022-09-14 11:50:24 +05:00
Abdullah Atta
5e64e06f52
web: use npm ci instead of npm install
2022-09-09 16:04:04 +05:00
Abdullah Atta
53047f035e
web: reduce tests flakiness
2022-09-09 15:42:52 +05:00
Abdullah Atta
cc36951b94
ci: add @notesnook/web e2e tests workflow
2022-09-09 12:12:17 +05:00
Abdullah Atta
f414b34d39
ci: add ats-diagnostics test for payments endpoint
2022-09-09 11:48:33 +05:00
Abdullah Atta
553752d947
ci: wrap PASSWORD env_var in single quotes
2022-09-09 00:37:05 +05:00