Commit Graph

69 Commits

Author SHA1 Message Date
thecodrr
3650afbbdc ci: cleanup deploy action 2021-07-25 09:36:36 +05:00
thecodrr
9cee67190c ci: change deploy action name 2021-07-25 09:33:43 +05:00
thecodrr
b98868602a ci: add beta deployment target 2021-07-25 09:32:42 +05:00
thecodrr
560f7e0ffc fix: build notesnook-web for desktop when releasing 2021-07-17 08:17:52 +05:00
thecodrr
e2f33f6f4e ci: let action-electron-builder do the work 2021-07-07 14:10:16 +05:00
thecodrr
54e0d1230b ci: download notesnook-web build to ./desktop/build 2021-07-07 13:16:46 +05:00
thecodrr
8c7355e1ae ci: use yarn instead of npm 2021-07-07 12:49:19 +05:00
thecodrr
21c2671141 ci: do not use microsoft/playwright-github-action@v1 2021-07-07 12:46:24 +05:00
thecodrr
63017a6c7f ci: fix config 2021-07-07 12:46:24 +05:00
thecodrr
6d7b5baf0d ci: install all browsers before running tests 2021-07-07 12:46:24 +05:00
thecodrr
437f71a1a5 edits 2021-07-07 12:44:55 +05:00
thecodrr
1cad156944 run tests in debug mode 2021-07-07 12:44:55 +05:00
thecodrr
1413c0a2a8 ci: disable vercel deployment 2021-07-07 12:44:54 +05:00
thecodrr
6eac246a53 ci: run e2e test only on push 2021-07-07 12:44:54 +05:00
thecodrr
9f411bafdd ci: use yarn for e2e tests 2021-07-07 12:44:54 +05:00
thecodrr
22ae3583db ci: fix all tests on all browsers 2021-07-07 12:44:50 +05:00
thecodrr
4ab9b867d5 ci: build only once for all three platforms 2021-07-07 08:18:17 +05:00
thecodrr
667c9044f1 ci: set package_root to ./desktop 2021-07-07 01:06:42 +05:00
thecodrr
49e9def5b5 chore: remove all desktop packaging from web app 2021-07-07 00:59:49 +05:00
thecodrr
684b7ee0ee feat: add git hash & platform to version string 2021-05-28 21:27:59 +05:00
Abdullah Atta
6b3a427670 Update release.yml 2021-05-28 21:25:35 +05:00
Abdullah Atta
1af3f089ab Update release.yml 2021-05-28 21:25:35 +05:00
Abdullah Atta
00bab9e4cb Update release.yml 2021-05-28 21:25:35 +05:00
Abdullah Atta
c6af1236f0 Update release.yml 2021-05-28 21:25:35 +05:00
Abdullah Atta
7da9837d89 Update release.yml 2021-05-28 21:25:35 +05:00
Abdullah Atta
6648d4dde8 Update release.yml 2021-05-28 21:25:35 +05:00
thecodrr
7d6c6e3387 ci: use node version 12 again 2021-05-28 21:25:35 +05:00
thecodrr
7f2fbe73c2 ci: force run ci.sh before npm install 2021-05-28 21:25:34 +05:00
thecodrr
6aa18d7183 ci: use node version 15.x 2021-05-28 21:25:34 +05:00
thecodrr
760fe14e69 ci: fix ERESOLVE unable to resolve dependency tree 2021-05-28 21:25:34 +05:00
Abdullah Atta
cccd746ff4 ci: do not use @latest for actions/setup-node 2021-05-28 21:25:34 +05:00
thecodrr
25da2c4a0d ci: add release action 2021-05-28 21:25:34 +05:00
thecodrr
c5d842f228 ci: add release config 2021-05-28 21:25:34 +05:00
thecodrr
ac7d43f48d ci: disable build ci 2020-12-08 10:43:04 +05:00
thecodrr
babeac04df ci: disable e2e ci testing 2020-12-08 10:39:54 +05:00
thecodrr
5bf422a48d ci: make deploy faster 2020-12-03 14:26:05 +05:00
Abdullah Atta
22ddd24b8f ci: fix ci (#162)
* Update build.yml

* ci: update

* ci: upgrade to use vercel-action
2020-12-02 20:45:51 +05:00
thecodrr
cbe9fcc40a ci: use action env 2020-12-02 19:55:36 +05:00
thecodrr
7e422e9e4f ci: do not use env 2020-12-01 12:57:08 +05:00
Abdullah Atta
f12c5b99dd ci: do not use env 2020-11-30 14:32:28 +05:00
Abdullah Atta
c0a99427d9 test: setup E2E Tests (#161)
* test: intialize testing environment

* test: add an example test for reference

* test: add simple navigation test

* some initial tests

* some changes

* name and other small changes

* permanently delete a note

* permanenlt delete a note

* test: improve test readability

I have added different id builders for building test ids. They make the tests more readable and fluent.

* test lock a note

* test add a note to notebook

* test favorite a note

* test pin a note

* test: further improve test readability

basically I refactored some frequently performed actions into helper functions

* test: check for presence of toast

* test: properly test pinned note

* test: increase tests reliability

* test: fix all tests

* perf: load 2co script & fonts when needed

* ci: initialize e2e gh test runner

* ci: do not run npm ci

* test: fix lock note test for all browsers

* ci: fix playwright tests

* ci: fix yaml syntax error

* ci: no need to use custom ssh-agent action for eslint

* test: improve lock a note test

* ci: add GH_DEPLOY_KEY env in eslint.yml

* test: check for state: "visible" in isPresent

* test: do not check for toast in lock a note test

* test: log crypto error to console

* test: skip "lock a note" test for now until further investigation

* ci: only run tests on firefox & chromium

* fix: fix useMediaQuery for WebKit browsers

* ci: try webkit once again

* properties tests

* test tag a color /properties

* test: run some tests sequentially and independently

* test: reenable all tests

* fix: user only able to type on character in title box

* test: skip lock/unlock tests in CI

* test edit a notebook

* test: fix all tests

* test: fix and add more notebook tests

* test: do not only run edit topics test

* test: make sure all notes tests pass

* test: skip add note to notebook tests for now

* test: make sure all tests pass

Co-authored-by: alihamuh <alihamuh@gmail.com>
2020-09-28 14:31:45 +05:00
Abdullah Atta
f0f209e1f6 ci: use script/ci.sh to handle ssh keys 2020-04-20 12:06:02 +05:00
Abdullah Atta
f9310f9cd3 ci: use script/ci.sh to handle ssh keys 2020-04-20 12:04:20 +05:00
Abdullah Atta
f89e6a8c2e ci: add ZEIT deployment (#120)
* ci: init zeit now

* add now.json

* add ssh key

* execute script

* add preinstall command

* use sh to execute script

* check

* add env var
2020-03-10 13:06:04 +05:00
Abdullah Atta
52c0887458 ci: add build action (#118) 2020-03-10 10:16:46 +05:00
Abdullah Atta
a4f77c331e ci: add deploy action (#117) 2020-03-09 21:28:16 +05:00
Abdullah Atta
91570ca86e ci: linting using reviewdog (#116) 2020-03-09 20:07:47 +05:00
Abdullah Atta
852668191f Update eslint.yml 2020-03-09 19:33:25 +05:00
Abdullah Atta
f829eb39c8 Update eslint.yml 2020-03-09 19:31:02 +05:00
Abdullah Atta
bac8e4bc2a Update eslint.yml 2020-03-09 19:23:00 +05:00