mirror of
https://github.com/standardnotes/app
synced 2026-09-14 12:45:58 -04:00
Compare commits
975
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f67b486a0d | ||
|
|
a9efce21f0 | ||
|
|
5bb923cff3 | ||
|
|
5a6f4fb35c | ||
|
|
9ac5bd0c27 | ||
|
|
02ad46147d | ||
|
|
ba231c633f | ||
|
|
040bce7584 | ||
|
|
69c3f2be83 | ||
|
|
064e054587 | ||
|
|
3bd1ad38ad | ||
|
|
d817a2115e | ||
|
|
55296dcc77 | ||
|
|
350fbbd74d | ||
|
|
f48c3f9582 | ||
|
|
189d70c1b6 | ||
|
|
d9db73ea05 | ||
|
|
ca7455a854 | ||
|
|
b7c502038f | ||
|
|
3b1892ed5a | ||
|
|
ee7f11c933 | ||
|
|
9248d0ff16 | ||
|
|
28ef9054fa | ||
|
|
cca0a366a5 | ||
|
|
5eb5634541 | ||
|
|
cd0ddb7a71 | ||
|
|
d3047b2b47 | ||
|
|
4928df08e2 | ||
|
|
a96323dfff | ||
|
|
c3212b019e | ||
|
|
0c44ad6c8e | ||
|
|
a4245aee6f | ||
|
|
4181d7ff2c | ||
|
|
337ae6009e | ||
|
|
bb63cbe2d1 | ||
|
|
bda16b88c0 | ||
|
|
1173a392c5 | ||
|
|
9a509a79c0 | ||
|
|
9dc51f51b2 | ||
|
|
f1f0d65dd5 | ||
|
|
47b3286235 | ||
|
|
166953de20 | ||
|
|
b98f5e2d02 | ||
|
|
5dd3d521cb | ||
|
|
fc6c6bad2c | ||
|
|
e9bf7d336b | ||
|
|
e63b4f0592 | ||
|
|
ac28b29d65 | ||
|
|
18235751d4 | ||
|
|
cbd0063926 | ||
|
|
3b048a31aa | ||
|
|
4a2dc1ef7a | ||
|
|
21f725bb2a | ||
|
|
173bacdfa3 | ||
|
|
c503d781ae | ||
|
|
9fb85cd77a | ||
|
|
bd40a49484 | ||
|
|
4a1612c7dc | ||
|
|
d3ed4391b7 | ||
|
|
856e499d89 | ||
|
|
4f0805d5b0 | ||
|
|
401a35f4db | ||
|
|
83b484002c | ||
|
|
30310dbb45 | ||
|
|
c6e3580678 | ||
|
|
ea285a36d8 | ||
|
|
1addaf4c39 | ||
|
|
92bba942f1 | ||
|
|
f71e6fe703 | ||
|
|
143b528b73 | ||
|
|
5d202a823e | ||
|
|
8d7d577b1c | ||
|
|
76f23e13ec | ||
|
|
4f3b258363 | ||
|
|
9cc3304741 | ||
|
|
4432f1cb4c | ||
|
|
6c47f95748 | ||
|
|
57fab4f670 | ||
|
|
fb7b9350b2 | ||
|
|
fb72c2fdae | ||
|
|
050fa9cabc | ||
|
|
a8535cfa23 | ||
|
|
27bb4ebdae | ||
|
|
60a8e8b92b | ||
|
|
1f07d9fa17 | ||
|
|
d333d4f188 | ||
|
|
7e3d7a8825 | ||
|
|
e99c7b7c51 | ||
|
|
0282a7958a | ||
|
|
4030953b00 | ||
|
|
ba9a9f8d01 | ||
|
|
80e76ee52c | ||
|
|
bbebfb42fd | ||
|
|
9954bdc29f | ||
|
|
e4de9c1be7 | ||
|
|
07ffc01ede | ||
|
|
eec7ae1589 | ||
|
|
361f773f2c | ||
|
|
5ffd37d447 | ||
|
|
2b66ff82ee | ||
|
|
c83dc48d3f | ||
|
|
8dc7eaf3a4 | ||
|
|
e40cd157b6 | ||
|
|
66805fa552 | ||
|
|
3527b1ff38 | ||
|
|
fc00b5c499 | ||
|
|
bb8ac49052 | ||
|
|
79fb734a72 | ||
|
|
a042cd7972 | ||
|
|
d52fdae0b3 | ||
|
|
0082a76b19 | ||
|
|
3f7d4a4cd9 | ||
|
|
a17ed963cd | ||
|
|
dd55c63955 | ||
|
|
a3a8acdd55 | ||
|
|
b849c122d6 | ||
|
|
d0c413cd15 | ||
|
|
0dad616c5c | ||
|
|
3f87f223a3 | ||
|
|
dc96b38c52 | ||
|
|
38385dee90 | ||
|
|
0738342cd6 | ||
|
|
2000435ed5 | ||
|
|
cff1a753ad | ||
|
|
846648ba25 | ||
|
|
b8a758180e | ||
|
|
84bb2db048 | ||
|
|
2a7d7c94f5 | ||
|
|
dd2a19f33d | ||
|
|
5cc471cfd5 | ||
|
|
d9d44c7d7c | ||
|
|
638ce849b5 | ||
|
|
1a2dde2e0e | ||
|
|
44a556adf6 | ||
|
|
f3a94cc4e6 | ||
|
|
588946898d | ||
|
|
4a59216783 | ||
|
|
721c9e740c | ||
|
|
3cb016ab1f | ||
|
|
794ed7f7d4 | ||
|
|
8068fef4d3 | ||
|
|
8553914d08 | ||
|
|
18c821d8eb | ||
|
|
038e456c6a | ||
|
|
37abac2ec2 | ||
|
|
81532f2f20 | ||
|
|
2b89ad488f | ||
|
|
075d7f444d | ||
|
|
a2dc739686 | ||
|
|
fabce1f7ac | ||
|
|
3fbbacfc25 | ||
|
|
990939318f | ||
|
|
46e3cae804 | ||
|
|
e3f28421ff | ||
|
|
d22c164e5d | ||
|
|
5cf37037b7 | ||
|
|
9fc77d861e | ||
|
|
b80b04d374 | ||
|
|
b82eac09a8 | ||
|
|
7c9f0d3143 | ||
|
|
fb41f651ec | ||
|
|
7a43e2d368 | ||
|
|
49b3d2714f | ||
|
|
1540143dad | ||
|
|
8376381981 | ||
|
|
15e2c82e65 | ||
|
|
1c22c1ab0c | ||
|
|
27d2c95b5b | ||
|
|
dcb8024deb | ||
|
|
85d2415625 | ||
|
|
e2e7605414 | ||
|
|
158ca6ac6a | ||
|
|
a275a45753 | ||
|
|
8863ee82bb | ||
|
|
6a4b5c5cdc | ||
|
|
cd1669f56f | ||
|
|
037007f0ec | ||
|
|
e7ca12babe | ||
|
|
c4c33db1a4 | ||
|
|
734b986294 | ||
|
|
59db63f052 | ||
|
|
20226c3269 | ||
|
|
a1352d9f65 | ||
|
|
7d21046b51 | ||
|
|
a365c17c46 | ||
|
|
c1981334e1 | ||
|
|
1e3acd50e9 | ||
|
|
8de6023848 | ||
|
|
01ba715eba | ||
|
|
3733707bf1 | ||
|
|
cbbe913cd6 | ||
|
|
c13dd883a4 | ||
|
|
1377846f3f | ||
|
|
f9ee197f04 | ||
|
|
c944eb9365 | ||
|
|
4609053bd0 | ||
|
|
1c10214104 | ||
|
|
1602d8157f | ||
|
|
ed1d583476 | ||
|
|
05aff2776b | ||
|
|
4b6662d62d | ||
|
|
ac0ad49af0 | ||
|
|
09b994f8f9 | ||
|
|
6c26b96cdc | ||
|
|
a4de9a05a9 | ||
|
|
6bd5534f74 | ||
|
|
de0f91c9e3 | ||
|
|
7fb418472c | ||
|
|
376810e657 | ||
|
|
c58eb611ac | ||
|
|
1167a674d6 | ||
|
|
8ef5a33994 | ||
|
|
ec41d082ff | ||
|
|
1c603161a5 | ||
|
|
b50dc861cd | ||
|
|
b4eacd0f2a | ||
|
|
927938cb56 | ||
|
|
ca170a2fa0 | ||
|
|
782cbee97e | ||
|
|
c1e6f8027e | ||
|
|
b9b84c79d5 | ||
|
|
4971e3c56e | ||
|
|
d54e6965c1 | ||
|
|
ca144be66a | ||
|
|
a90e4a50e8 | ||
|
|
65818ac1cd | ||
|
|
52962ed65d | ||
|
|
be2c4720fc | ||
|
|
47106fdf83 | ||
|
|
88e29fe1b6 | ||
|
|
b15d80eb29 | ||
|
|
86a0b61612 | ||
|
|
5f24e7285e | ||
|
|
1c530ab534 | ||
|
|
08b70968f2 | ||
|
|
0fa9f6d7b6 | ||
|
|
3c699eaa4a | ||
|
|
fc86cebc75 | ||
|
|
e0ec53f85a | ||
|
|
492c9bacbf | ||
|
|
88f35b39fb | ||
|
|
f28ed36136 | ||
|
|
f02465346f | ||
|
|
11dd39c126 | ||
|
|
d7a90c4d91 | ||
|
|
00075616e6 | ||
|
|
5ffffbff20 | ||
|
|
ecd8d56171 | ||
|
|
33226000f5 | ||
|
|
c841ac99d2 | ||
|
|
b0e708186c | ||
|
|
20e420820d | ||
|
|
c3d6a91730 | ||
|
|
0ed692ff9b | ||
|
|
c74fa272fb | ||
|
|
3f9d3ceffa | ||
|
|
f6d0aa0f0a | ||
|
|
eafa65e934 | ||
|
|
a83003ee69 | ||
|
|
554f59a3fe | ||
|
|
c0af596f2d | ||
|
|
6e10911d02 | ||
|
|
9502a7fa32 | ||
|
|
727d78cfe2 | ||
|
|
44bb4b7ca3 | ||
|
|
981d8a7497 | ||
|
|
04245dfeeb | ||
|
|
5db47e83e8 | ||
|
|
c08602b7b8 | ||
|
|
ec52e5684d | ||
|
|
f3f7f9d362 | ||
|
|
b9a07d8b5a | ||
|
|
31213bf268 | ||
|
|
70e57e32b3 | ||
|
|
720215eea7 | ||
|
|
6d5ebdeaa1 | ||
|
|
c99693876f | ||
|
|
f8f6a5212b | ||
|
|
58cd919267 | ||
|
|
507823dc4f | ||
|
|
6ea1def0cf | ||
|
|
fe2ce9f1e8 | ||
|
|
4985787c5d | ||
|
|
8614a638a4 | ||
|
|
15957c71cb | ||
|
|
59e814bcec | ||
|
|
4cf9ebf52a | ||
|
|
a3611c802f | ||
|
|
9be315730d | ||
|
|
789a78bda3 | ||
|
|
73e170dedd | ||
|
|
e4b1b64119 | ||
|
|
c2a1918843 | ||
|
|
d3621d70b1 | ||
|
|
bf286f4854 | ||
|
|
97835e64ac | ||
|
|
285df04a59 | ||
|
|
4d5429cc89 | ||
|
|
da6622dc95 | ||
|
|
a548883863 | ||
|
|
1330201d2e | ||
|
|
0af720146c | ||
|
|
4d6992cf83 | ||
|
|
5de6f459c1 | ||
|
|
3c0d4fac76 | ||
|
|
4cdfcbfd95 | ||
|
|
51e50433d3 | ||
|
|
696327ff03 | ||
|
|
de64f1bfce | ||
|
|
48d484675b | ||
|
|
86251b49d3 | ||
|
|
5961bc491d | ||
|
|
e50f4eb92e | ||
|
|
4f8e75f36a | ||
|
|
6824dd2d5f | ||
|
|
76ec8b0f90 | ||
|
|
3eebdbb77d | ||
|
|
ce252def33 | ||
|
|
cb7af03ce8 | ||
|
|
1fe833bc24 | ||
|
|
ac1f59cde7 | ||
|
|
db4ceca10e | ||
|
|
0176f47fe7 | ||
|
|
f281041221 | ||
|
|
ebd56cd5aa | ||
|
|
8fa566336c | ||
|
|
9dfeac7489 | ||
|
|
d1b71861ec | ||
|
|
766548f12d | ||
|
|
581a08cd09 | ||
|
|
ee0d44405d | ||
|
|
1ae64dcac4 | ||
|
|
2be4fb4f83 | ||
|
|
271a8d1d70 | ||
|
|
e809328fa8 | ||
|
|
784cefa26f | ||
|
|
c5e225d335 | ||
|
|
cb4c0f1b5c | ||
|
|
91d9364e95 | ||
|
|
023d1665b6 | ||
|
|
4a773fa537 | ||
|
|
dd5ca0c28c | ||
|
|
9aa7bc018e | ||
|
|
571919c969 | ||
|
|
66a25c7556 | ||
|
|
e3be17c7f8 | ||
|
|
c4d7761496 | ||
|
|
f80cc5b822 | ||
|
|
ecaa2a629f | ||
|
|
46f3e873a5 | ||
|
|
038320b2fd | ||
|
|
ee4a1acb9c | ||
|
|
efe0c38462 | ||
|
|
4336c9ed66 | ||
|
|
85c90e07fc | ||
|
|
146b3329e0 | ||
|
|
0c3c98d7af | ||
|
|
5a8752b95a | ||
|
|
7807fa34f3 | ||
|
|
ddf4c97477 | ||
|
|
3a15142940 | ||
|
|
79518b6a5d | ||
|
|
2d0ee10226 | ||
|
|
05068ef63a | ||
|
|
174b3845d1 | ||
|
|
a9ef41fdc1 | ||
|
|
110c5ff47f | ||
|
|
f3738358c9 | ||
|
|
b4bdbfe96a | ||
|
|
912c9ce707 | ||
|
|
d7aca2c13a | ||
|
|
e73d187b65 | ||
|
|
896bb22f64 | ||
|
|
e7839cb141 | ||
|
|
930bc2d8f7 | ||
|
|
39fdac270e | ||
|
|
66d364ff36 | ||
|
|
27b7f4e597 | ||
|
|
8d04c2fb55 | ||
|
|
55b1409a80 | ||
|
|
2b830c0fae | ||
|
|
39d0ee9181 | ||
|
|
9fa093280d | ||
|
|
73ef93c1db | ||
|
|
5d39934e47 | ||
|
|
320fc3fd96 | ||
|
|
e2715709d4 | ||
|
|
1efc352da5 | ||
|
|
1f27f0f790 | ||
|
|
461ebc2768 | ||
|
|
1d93210f81 | ||
|
|
91d5980a7e | ||
|
|
8ea069cf5c | ||
|
|
9267e580b5 | ||
|
|
17131f7d67 | ||
|
|
ecd870cdaa | ||
|
|
4617afe14e | ||
|
|
f21269fc69 | ||
|
|
3afbce385b | ||
|
|
0e86b13a8f | ||
|
|
9719c6fcac | ||
|
|
8792771d27 | ||
|
|
aa7a22c6ac | ||
|
|
91f5694a02 | ||
|
|
19a95dc404 | ||
|
|
089d3a2e66 | ||
|
|
370ce39eba | ||
|
|
876c0e83ca | ||
|
|
a203faf02d | ||
|
|
520b3add0f | ||
|
|
c336f9de18 | ||
|
|
2c69a514a8 | ||
|
|
26fe530deb | ||
|
|
58f9789142 | ||
|
|
d2cebf930a | ||
|
|
7bff3dee24 | ||
|
|
a2b6ec74b0 | ||
|
|
2bdd931f6d | ||
|
|
a780fa4e87 | ||
|
|
becbe34233 | ||
|
|
2a976a0de4 | ||
|
|
e7acbd7de8 | ||
|
|
779596b9ae | ||
|
|
b1f23d6076 | ||
|
|
818c3066cc | ||
|
|
13343c9a56 | ||
|
|
3d1dc8f38a | ||
|
|
163cc8ce8a | ||
|
|
a25923f084 | ||
|
|
f14f105703 | ||
|
|
6d7bcd7a8d | ||
|
|
da06f293e0 | ||
|
|
ec4dc1d477 | ||
|
|
2ea9f862fe | ||
|
|
901b1516d3 | ||
|
|
54ae4365a3 | ||
|
|
5b910d4ae4 | ||
|
|
40d9392599 | ||
|
|
a7dfeae650 | ||
|
|
77cbb6b06e | ||
|
|
82a8bcc440 | ||
|
|
83f6cc667d | ||
|
|
d048800b9d | ||
|
|
1f3e741811 | ||
|
|
887402f75f | ||
|
|
d533fb78e0 | ||
|
|
f555fbcaaa | ||
|
|
8332a70384 | ||
|
|
50e85cac15 | ||
|
|
f2369c7555 | ||
|
|
5f0d3ca8b2 | ||
|
|
1d378228d3 | ||
|
|
d04d5d9d8f | ||
|
|
2e487ae6f3 | ||
|
|
0825cedfbe | ||
|
|
05435553a4 | ||
|
|
355c70d7f7 | ||
|
|
ac24256f34 | ||
|
|
10f40f662e | ||
|
|
73e3b3813f | ||
|
|
3ce621e24c | ||
|
|
8a1293f66d | ||
|
|
94772bb7b6 | ||
|
|
c2159e77f7 | ||
|
|
ffb2193924 | ||
|
|
183f68c9c1 | ||
|
|
696b82b9d3 | ||
|
|
7e251262d7 | ||
|
|
c72a407095 | ||
|
|
58138c9a1f | ||
|
|
aabcd62dc2 | ||
|
|
f50a655f9f | ||
|
|
ae3e275cee | ||
|
|
4d994dc79b | ||
|
|
8a4aded995 | ||
|
|
1216b441fb | ||
|
|
f9036168e3 | ||
|
|
1cefaf10ee | ||
|
|
966c15701f | ||
|
|
f259f774c5 | ||
|
|
483cac90cf | ||
|
|
3116ae3883 | ||
|
|
5b3cfddc50 | ||
|
|
5ec8e99781 | ||
|
|
58e751f986 | ||
|
|
8c364f6d58 | ||
|
|
9bc7533010 | ||
|
|
6f7dfaa9f6 | ||
|
|
7b6b2bc5b1 | ||
|
|
36288ad36a | ||
|
|
2573407851 | ||
|
|
baf7fb0019 | ||
|
|
9ea1b35e0f | ||
|
|
98fc870d76 | ||
|
|
4d30331861 | ||
|
|
12e2b83344 | ||
|
|
9e835c3b07 | ||
|
|
12168945f1 | ||
|
|
a827274ac6 | ||
|
|
65c377ba62 | ||
|
|
c02ec9a5f9 | ||
|
|
40b344fd00 | ||
|
|
776fa579c4 | ||
|
|
b174493b4e | ||
|
|
a7a81b15a9 | ||
|
|
135e5924bf | ||
|
|
aaf68a8f73 | ||
|
|
9a297fe8cf | ||
|
|
f06167abc2 | ||
|
|
f125ad3cf1 | ||
|
|
26949749fc | ||
|
|
763f4655a1 | ||
|
|
2e1218c2c1 | ||
|
|
431f1e3bac | ||
|
|
b3c8d6e976 | ||
|
|
7624f95462 | ||
|
|
71e792da35 | ||
|
|
09e08ca899 | ||
|
|
59327a5aa1 | ||
|
|
da65a94d08 | ||
|
|
0a2c90f2c1 | ||
|
|
3f028656f2 | ||
|
|
5706b4d162 | ||
|
|
9d230d4b81 | ||
|
|
b025e394c1 | ||
|
|
6764f3267b | ||
|
|
97cb721909 | ||
|
|
4ad21c4f61 | ||
|
|
a5ccaf1331 | ||
|
|
3c4ba61fee | ||
|
|
5393eb71fe | ||
|
|
0aef604167 | ||
|
|
c6932ba733 | ||
|
|
fc6e36e761 | ||
|
|
66f97f0612 | ||
|
|
961d1fb8d4 | ||
|
|
f349744fdb | ||
|
|
c737132b50 | ||
|
|
1809c51e54 | ||
|
|
3e4e7fd0e0 | ||
|
|
0d16e6faaa | ||
|
|
3d49b95bc5 | ||
|
|
dc48b504db | ||
|
|
6001c0d7a1 | ||
|
|
bcb6a94fb6 | ||
|
|
1990a9d2e6 | ||
|
|
2448672a61 | ||
|
|
306a2129a2 | ||
|
|
d9014615f0 | ||
|
|
f484a2a920 | ||
|
|
2f9a54bef3 | ||
|
|
3a20abc989 | ||
|
|
9a3cdfbc1a | ||
|
|
a59065d1d6 | ||
|
|
2988c71334 | ||
|
|
516b4edb6c | ||
|
|
6e2911105b | ||
|
|
7017032893 | ||
|
|
573c67d41c | ||
|
|
50c024e643 | ||
|
|
6ebac52cb0 | ||
|
|
ff9215c916 | ||
|
|
2415088561 | ||
|
|
2b05f35433 | ||
|
|
180a183f96 | ||
|
|
f7ba6588a7 | ||
|
|
bfba5b8d4f | ||
|
|
7bd94be7e2 | ||
|
|
e17366ff8e | ||
|
|
34719c4935 | ||
|
|
3df6acbd44 | ||
|
|
6fa6374cf2 | ||
|
|
68356912f2 | ||
|
|
9bba4b5c67 | ||
|
|
ca6e3ca9e9 | ||
|
|
a900f8b493 | ||
|
|
c8ca316fcd | ||
|
|
36d3b65605 | ||
|
|
d1df0d371a | ||
|
|
78271b68f6 | ||
|
|
76daf4c81b | ||
|
|
2ee791259d | ||
|
|
34ebfd33c1 | ||
|
|
d315c8c6c1 | ||
|
|
e6859d4a8d | ||
|
|
90b453253e | ||
|
|
58720c8ad3 | ||
|
|
8a94171eb0 | ||
|
|
3ab1ef5e2a | ||
|
|
6116287138 | ||
|
|
73ebb62c88 | ||
|
|
d05d6db620 | ||
|
|
ad92392b4d | ||
|
|
47de4020e1 | ||
|
|
d38071168a | ||
|
|
0e40469e2f | ||
|
|
321a055bae | ||
|
|
bc666aa983 | ||
|
|
a9fe67977c | ||
|
|
0c2b1fb03f | ||
|
|
7946a3a9c7 | ||
|
|
21d8a99b3d | ||
|
|
57510921c2 | ||
|
|
6751f30db6 | ||
|
|
93679df645 | ||
|
|
46fe66256b | ||
|
|
6ec66795d2 | ||
|
|
9d1f7043e5 | ||
|
|
67b0918ba8 | ||
|
|
9d7d18e7f2 | ||
|
|
e2e9a11984 | ||
|
|
aef4ceb7f8 | ||
|
|
d273770831 | ||
|
|
c4e16e4346 | ||
|
|
13f9f1668e | ||
|
|
1b06ea7331 | ||
|
|
ffcbbec0ab | ||
|
|
f751a98aea | ||
|
|
f4cde8f752 | ||
|
|
fbfed0a05c | ||
|
|
b614c71e79 | ||
|
|
60d1554ff7 | ||
|
|
5cd28ca077 | ||
|
|
28dbb95965 | ||
|
|
1cd8a47fa4 | ||
|
|
730853e67a | ||
|
|
f99a516535 | ||
|
|
f995cac9f1 | ||
|
|
4abbda7537 | ||
|
|
65aca615a1 | ||
|
|
5bacb4562f | ||
|
|
af2b73026c | ||
|
|
296aa9aab2 | ||
|
|
d4188a3fa2 | ||
|
|
577da2ca84 | ||
|
|
d2ee37aa78 | ||
|
|
462b8e3cbd | ||
|
|
1ce4cb3c5c | ||
|
|
ce626dde8b | ||
|
|
ede5f6dd0c | ||
|
|
5ccb42cf5f | ||
|
|
ea5b553583 | ||
|
|
b49178a6d5 | ||
|
|
3f65a3263e | ||
|
|
d18df20e89 | ||
|
|
a7c8de9a81 | ||
|
|
1d6f53eddf | ||
|
|
dd6f84ab77 | ||
|
|
cf3bac0217 | ||
|
|
30f346143f | ||
|
|
5ee7b0639a | ||
|
|
784a1d8158 | ||
|
|
8f65d5f5bf | ||
|
|
3abc28d859 | ||
|
|
339b7f32fd | ||
|
|
0cbd98224c | ||
|
|
37d765ab21 | ||
|
|
82f3025f23 | ||
|
|
24e89e8c34 | ||
|
|
0a5b72c5fd | ||
|
|
4a92b1d7bd | ||
|
|
2f4b79fab3 | ||
|
|
9c7f713baa | ||
|
|
7ab2f7a32d | ||
|
|
09d8e067da | ||
|
|
40c294e8a5 | ||
|
|
25c54a06f2 | ||
|
|
fa54cfe813 | ||
|
|
ebb6f8937c | ||
|
|
81cd637f5a | ||
|
|
44d3e96468 | ||
|
|
e335d0d2c2 | ||
|
|
a55d92038b | ||
|
|
8b7935d545 | ||
|
|
175a0ff7db | ||
|
|
253cc589a3 | ||
|
|
36fc9caa2c | ||
|
|
32481dfe05 | ||
|
|
618e0e0784 | ||
|
|
249f5f192f | ||
|
|
85ab5b914a | ||
|
|
03497cbf5b | ||
|
|
2ec1a4dbb4 | ||
|
|
d026b659fb | ||
|
|
4feaff2621 | ||
|
|
945248d7d3 | ||
|
|
d311ce40b9 | ||
|
|
354fb13256 | ||
|
|
e5771fcbde | ||
|
|
60273785c2 | ||
|
|
66d5dce5e1 | ||
|
|
f11b8e163c | ||
|
|
42dee7513e | ||
|
|
1e666fa606 | ||
|
|
27e3e57150 | ||
|
|
0f4753f2c0 | ||
|
|
4978264ef8 | ||
|
|
a0205a5c7d | ||
|
|
68e0acecca | ||
|
|
21ea2ec7a1 | ||
|
|
38725daeb9 | ||
|
|
c10b1c3584 | ||
|
|
dd2d377b6a | ||
|
|
0328062d8b | ||
|
|
dd23135d6d | ||
|
|
b8e8fb689b | ||
|
|
f3a6aaaf2e | ||
|
|
f437ed6ce4 | ||
|
|
febca55f25 | ||
|
|
294663a725 | ||
|
|
88b2150bad | ||
|
|
bdce364fd7 | ||
|
|
0193ba3e7b | ||
|
|
2be683954d | ||
|
|
7eadc16a6c | ||
|
|
7c3c59dd92 | ||
|
|
297b3bb4f8 | ||
|
|
c4ac9fb8d6 | ||
|
|
44d6bdf147 | ||
|
|
df87a38b56 | ||
|
|
87213e9f5d | ||
|
|
53ff07244a | ||
|
|
70c1dd7827 | ||
|
|
47a0551967 | ||
|
|
6960bec339 | ||
|
|
7c2b8fe545 | ||
|
|
eac62fef1a | ||
|
|
8b845ea424 | ||
|
|
604520f1ae | ||
|
|
98ed6472c0 | ||
|
|
fad80af0ff | ||
|
|
0644490e43 | ||
|
|
2da360234d | ||
|
|
e86ea8837a | ||
|
|
7851e12e9e | ||
|
|
82d13b41ed | ||
|
|
4f5d092f89 | ||
|
|
cd0859e908 | ||
|
|
e9eff74fdb | ||
|
|
f503a3fde6 | ||
|
|
ddeaf523a8 | ||
|
|
b042326301 | ||
|
|
db066b2693 | ||
|
|
5cd449fe80 | ||
|
|
92360aaf66 | ||
|
|
931c66dc16 | ||
|
|
6c19adba19 | ||
|
|
38dc61a80e | ||
|
|
b03409c2a0 | ||
|
|
26585c0e1f | ||
|
|
de3b27d563 | ||
|
|
fd5c4f44ce | ||
|
|
0ecaabd859 | ||
|
|
a4379a3e43 | ||
|
|
b8efd823ac | ||
|
|
a3a654f381 | ||
|
|
d198625cfa | ||
|
|
b421415968 | ||
|
|
5e5cf618c5 | ||
|
|
7916ec439f | ||
|
|
b06912c914 | ||
|
|
bb43134e94 | ||
|
|
f2ae9e8bdf | ||
|
|
94be36ed9c | ||
|
|
a07340936f | ||
|
|
7b51fa4fa8 | ||
|
|
fb0684a19c | ||
|
|
5b4fbbe956 | ||
|
|
667af4d680 | ||
|
|
117a6dfbc7 | ||
|
|
6ebc3759aa | ||
|
|
cc55888d29 | ||
|
|
ee5b6627da | ||
|
|
15ca2d358b | ||
|
|
5116895b36 | ||
|
|
59e5324a29 | ||
|
|
36645d7fbf | ||
|
|
a9995ff6cd | ||
|
|
7d1b66a036 | ||
|
|
94da6b24e6 | ||
|
|
c52690a620 | ||
|
|
ded2d1866a | ||
|
|
0290dcfd46 | ||
|
|
d90dfdb085 | ||
|
|
207625bda8 | ||
|
|
50991d5a5f | ||
|
|
2a34c6f2b8 | ||
|
|
662eb88cdd | ||
|
|
535752dac0 | ||
|
|
fc6f9a19f8 | ||
|
|
b80038f607 | ||
|
|
0ead805412 | ||
|
|
3e0a06790d | ||
|
|
4dfad27364 | ||
|
|
60ca415044 | ||
|
|
d340ff9d77 | ||
|
|
f3c1eadd62 | ||
|
|
6b90e13dca | ||
|
|
7b543d3c58 | ||
|
|
6973879cda | ||
|
|
d683281d2f | ||
|
|
e59b4ba8ec | ||
|
|
e7e3872c06 | ||
|
|
45178f9024 | ||
|
|
2f7f7a326f | ||
|
|
c10c8b50d4 | ||
|
|
4bd25efd84 | ||
|
|
5c4a645e70 | ||
|
|
b71a797681 | ||
|
|
50136d9373 | ||
|
|
34f00c5946 | ||
|
|
5855e44870 | ||
|
|
f0283f51f2 | ||
|
|
a345f4f97e | ||
|
|
e83452785c | ||
|
|
4f5323140a | ||
|
|
6f17902766 | ||
|
|
67961838d2 | ||
|
|
acfc5b782b | ||
|
|
bd66b191a5 | ||
|
|
c859876bb5 | ||
|
|
1d015365a9 | ||
|
|
4bb227bdce | ||
|
|
23e9a5b511 | ||
|
|
a3a0952e68 | ||
|
|
3cece858b1 | ||
|
|
fedcffbdfd | ||
|
|
9cef147a10 | ||
|
|
e7e90eb350 | ||
|
|
24bb5e3b0c | ||
|
|
2d069fd4bd | ||
|
|
06d452b57f | ||
|
|
9789fc2000 | ||
|
|
cb128e5de1 | ||
|
|
2401c2fcb4 | ||
|
|
36f92a3589 | ||
|
|
6d98cf6929 | ||
|
|
0d62472019 | ||
|
|
020e0f8543 | ||
|
|
da336da44a | ||
|
|
ea0e9fbb27 | ||
|
|
df62e28440 | ||
|
|
46ff53b3c6 | ||
|
|
f8e6632b57 | ||
|
|
b0944a29ed | ||
|
|
edaa1548d4 | ||
|
|
d807ab26d2 | ||
|
|
4217edeb0c | ||
|
|
70e9deccb7 | ||
|
|
6fb133fb75 | ||
|
|
4a9471858b | ||
|
|
018e71d9c4 | ||
|
|
4e0f102a1c | ||
|
|
95602858a7 | ||
|
|
6c57788ab4 | ||
|
|
f3ef8d0e20 | ||
|
|
edcccd3332 | ||
|
|
e939085fc7 | ||
|
|
458d8dacaf | ||
|
|
fe3c8153bd | ||
|
|
c3b5620bf6 | ||
|
|
5f52b5a454 | ||
|
|
b7e480e2c5 | ||
|
|
76ba98ffb8 | ||
|
|
1b32b2f351 | ||
|
|
facd76eb54 | ||
|
|
b02d1efaed | ||
|
|
8e090ad04f | ||
|
|
a5590af158 | ||
|
|
b0911b1574 | ||
|
|
d899e737bc | ||
|
|
4db63e3a63 | ||
|
|
480d17f2b6 | ||
|
|
18eb1f2578 | ||
|
|
e80b4d0ffa | ||
|
|
7c0938b877 | ||
|
|
6f6cbff855 | ||
|
|
73c65c3714 | ||
|
|
91de7db609 | ||
|
|
957ee5fc85 | ||
|
|
d798d1c6da | ||
|
|
407104e317 | ||
|
|
1122394f91 | ||
|
|
0608203db5 | ||
|
|
6be25ae828 | ||
|
|
112ef2a2c8 | ||
|
|
d833df1b74 | ||
|
|
3b80c170d2 | ||
|
|
b0b08ba912 | ||
|
|
c066885315 | ||
|
|
7b51131082 | ||
|
|
f1573e7112 | ||
|
|
b25919099f | ||
|
|
13cb655d1c | ||
|
|
3b4797c243 | ||
|
|
cb209b8dfd | ||
|
|
212f07194b | ||
|
|
f4b9b5b566 | ||
|
|
34eb1c80e4 | ||
|
|
7d60dfee73 | ||
|
|
1f903f17d1 | ||
|
|
ee69102001 | ||
|
|
0075fcd208 | ||
|
|
946d50b5df | ||
|
|
49bb5c2001 | ||
|
|
b6cd4bf6bf | ||
|
|
89b77660f5 | ||
|
|
0699b5544e | ||
|
|
31556891ef | ||
|
|
f527d5f265 | ||
|
|
08d07ad87a | ||
|
|
330f918a9d | ||
|
|
296873d671 | ||
|
|
c5804bec22 | ||
|
|
56bd64c7e6 | ||
|
|
5ed29de542 | ||
|
|
4f66c96ac3 | ||
|
|
695a55f652 | ||
|
|
4fea3e9a6b | ||
|
|
3642fc882a | ||
|
|
d2d688b3fb | ||
|
|
affe7247ba | ||
|
|
71463a9821 | ||
|
|
dcf3724e2c | ||
|
|
3e2e03f1de | ||
|
|
dfbd72b1df | ||
|
|
e7080dfe3f | ||
|
|
d6b8909a14 | ||
|
|
81263015a1 | ||
|
|
e369b067b0 | ||
|
|
006e29da31 | ||
|
|
a589a81ecf | ||
|
|
ea37bbe53f | ||
|
|
3b6b5b1887 | ||
|
|
3bc621b4fb | ||
|
|
644dfe6ec6 | ||
|
|
f2ed5d1a6c | ||
|
|
9e46ff5101 | ||
|
|
ba65948364 | ||
|
|
cd645f74df | ||
|
|
6b7f9b2648 | ||
|
|
bd84706a9d | ||
|
|
817d1ba1d8 | ||
|
|
9158163b10 | ||
|
|
3a51e033b6 | ||
|
|
a736c0cd2c | ||
|
|
a1b6e62dcb | ||
|
|
7dcd5abe20 | ||
|
|
a6ddb5a348 | ||
|
|
12a2369d17 | ||
|
|
367ffdf254 | ||
|
|
b5d3308566 | ||
|
|
a09fe44c44 | ||
|
|
8b7b70eae7 | ||
|
|
9a3721d057 | ||
|
|
a584a70fb6 | ||
|
|
66241cb038 | ||
|
|
282dbedfb6 | ||
|
|
93e97013c1 | ||
|
|
5964f91b2e | ||
|
|
ff0716cf17 | ||
|
|
ca49db56b2 | ||
|
|
daa72cb253 | ||
|
|
f5c2e6138a | ||
|
|
ec5a2dc482 | ||
|
|
957f58ac6c | ||
|
|
b4f674911b | ||
|
|
696824f3ed | ||
|
|
cd2579439c | ||
|
|
e94132ff28 | ||
|
|
fad77f2a3c | ||
|
|
29e5855594 | ||
|
|
e4bef17dfa | ||
|
|
aa45bd8a8c | ||
|
|
b44ee77534 |
@@ -1,10 +0,0 @@
|
||||
.git/
|
||||
.gitignore
|
||||
.eslintcache
|
||||
node_modules
|
||||
dist
|
||||
packages/web-server/public/assets
|
||||
packages/web-server/tmp
|
||||
packages/web-server/vendor/bundles
|
||||
packages/desktop
|
||||
packages/mobile
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
PORT=3001
|
||||
|
||||
DEFAULT_SYNC_SERVER=https://api.standardnotes.com
|
||||
|
||||
# Subscription related endpoints
|
||||
DASHBOARD_URL=http://standardnotes.com/dashboard
|
||||
PLANS_URL=https://standardnotes.com/plans
|
||||
PURCHASE_URL=https://standardnotes.com/purchase
|
||||
|
||||
# Used by Rails internals and not Standard Notes related
|
||||
SECRET_KEY_BASE=<enter a secret string here>
|
||||
+18
-1
@@ -1,2 +1,19 @@
|
||||
node_modules
|
||||
scripts
|
||||
scripts
|
||||
actions
|
||||
.yarn
|
||||
.vscode
|
||||
.sass-cache
|
||||
.husky
|
||||
.github
|
||||
.git
|
||||
**/dist
|
||||
**/coverage
|
||||
**/node_modules
|
||||
packages/components
|
||||
packages/docs
|
||||
packages/mobile/android
|
||||
packages/mobile/ios
|
||||
packages/mobile/html
|
||||
packages/snjs/mocha
|
||||
*.d.ts
|
||||
+4
-1
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"extends": ["./node_modules/@standardnotes/config/src/.eslintrc"],
|
||||
"ignorePatterns": [".eslintrc.js", "*.webpack.*.js", "webpack-defaults.js", "jest.config.js", "__mocks__"]
|
||||
"rules": {
|
||||
"max-classes-per-file": ["error", 1]
|
||||
},
|
||||
"ignorePatterns": [".eslintrc.js", "*.webpack.*.js", "webpack-defaults.js", "jest.config.js", "__mocks__", "**/**/coverage"]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
# To get started with Dependabot version updates, you'll need to specify which
|
||||
# package ecosystems to update and where the package manifests are located.
|
||||
# Please see the documentation for all configuration options:
|
||||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/api"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/components"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/desktop"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/docs"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/encryption"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/features"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/filepicker"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/files"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/icons"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/mobile"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/models"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/releases"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/responses"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/services"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/sncrypto-common"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/sncrypto-web"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/snjs"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/styles"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/toast"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/utils"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/packages/web"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
@@ -13,16 +13,17 @@ name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop, main ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ develop ]
|
||||
branches: [ main ]
|
||||
schedule:
|
||||
- cron: '21 7 * * 0'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
continue-on-error: true
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -36,11 +37,11 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
config-file: ./.github/codeql/codeql-config.yml
|
||||
@@ -52,7 +53,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
uses: github/codeql-action/autobuild@v2
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
@@ -66,4 +67,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
name: Desktop Beta Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/*desktop*beta*'
|
||||
- '*standardnotes/*desktop*alpha*'
|
||||
- '!*standardnotes/*inner-desktop*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
uses: standardnotes/app/.github/workflows/desktop.release.reuse.yml@develop
|
||||
secrets: inherit
|
||||
with:
|
||||
channel: beta
|
||||
@@ -1,11 +1,9 @@
|
||||
name: Desktop Prod Release
|
||||
name: Desktop Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/*desktop*'
|
||||
- '!*standardnotes/*desktop*beta*'
|
||||
- '!*standardnotes/*desktop*alpha*'
|
||||
- '!*standardnotes/*inner-desktop*'
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
@@ -19,20 +19,25 @@ jobs:
|
||||
run:
|
||||
working-directory: packages/desktop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: yarn install
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
- run: yarn install --immutable
|
||||
- run: yarn build:desktop
|
||||
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
|
||||
|
||||
- name: Compile Mac
|
||||
run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- name: MacX64
|
||||
run: |
|
||||
yarn run electron-builder --mac --x64 --publish=never
|
||||
yarn run electron-builder --mac --x64 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
node scripts/fixMacZip.js
|
||||
- name: MacArm64
|
||||
run: yarn run electron-builder --mac --arm64 --publish=never
|
||||
run: yarn run electron-builder --mac --arm64 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
|
||||
- name: Upload
|
||||
uses: actions/[email protected]
|
||||
with:
|
||||
@@ -50,45 +55,51 @@ jobs:
|
||||
run:
|
||||
working-directory: packages/desktop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install FPM
|
||||
run: sudo gem install fpm -f
|
||||
- run: yarn install
|
||||
|
||||
- run: yarn install --immutable
|
||||
- run: yarn build:desktop
|
||||
|
||||
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
|
||||
|
||||
- name: Compile for AppImage
|
||||
run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- name: AppImage
|
||||
run: yarn run electron-builder --linux --x64 --ia32 -c.linux.target=AppImage --publish=never
|
||||
run: yarn run electron-builder --linux --x64 --ia32 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
- name: AppImageX64
|
||||
run: yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never
|
||||
run: yarn run electron-builder --linux --x64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
- name: AppImageArm64
|
||||
run: yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never
|
||||
run: yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
|
||||
- name: Deb
|
||||
run: |
|
||||
yarn run webpack --config desktop.webpack.prod.js --env deb
|
||||
yarn run electron-builder --linux --x64 --ia32 -c.linux.target=deb --publish=never
|
||||
yarn run electron-builder --linux --x64 --ia32 -c.linux.target=deb --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
- name: DebArm64
|
||||
env:
|
||||
npm_config_target_arch: 'arm64'
|
||||
USE_SYSTEM_FPM: 'true'
|
||||
run: |
|
||||
yarn run webpack --config desktop.webpack.prod.js --env deb
|
||||
yarn run electron-builder --linux --arm64 -c.linux.target=deb --publish=never
|
||||
yarn run electron-builder --linux --arm64 -c.linux.target=deb --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
|
||||
- name: Dir
|
||||
run: |
|
||||
yarn run webpack --config desktop.webpack.prod.js
|
||||
yarn run electron-builder --linux --x64 -c.linux.target=dir --publish=never
|
||||
yarn run electron-builder --linux --x64 -c.linux.target=dir --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
- name: DirArm64
|
||||
run: |
|
||||
yarn run webpack --config desktop.webpack.prod.js
|
||||
yarn run electron-builder --linux --arm64 -c.linux.target=dir --publish=never
|
||||
yarn run electron-builder --linux --arm64 -c.linux.target=dir --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
env:
|
||||
npm_config_target_arch: 'arm64'
|
||||
|
||||
@@ -96,7 +107,7 @@ jobs:
|
||||
run: |
|
||||
sudo snap install snapcraft --classic
|
||||
yarn run webpack --config desktop.webpack.prod.js --env snap
|
||||
yarn run electron-builder --linux --x64 -c.linux.target=snap --publish=never
|
||||
yarn run electron-builder --linux --x64 -c.linux.target=snap --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
|
||||
- name: Upload
|
||||
uses: actions/[email protected]
|
||||
@@ -119,14 +130,17 @@ jobs:
|
||||
run:
|
||||
working-directory: packages/desktop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: yarn install
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
- run: yarn install --immutable
|
||||
- run: yarn build:desktop
|
||||
- run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
|
||||
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
|
||||
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
|
||||
- name: Upload
|
||||
uses: actions/[email protected]
|
||||
@@ -146,32 +160,58 @@ jobs:
|
||||
run:
|
||||
working-directory: packages/desktop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
|
||||
- run: yarn install --immutable
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: assets
|
||||
path: packages/desktop/dist
|
||||
- run: node scripts/sums.mjs
|
||||
|
||||
- name: Generate Checksums
|
||||
run: node scripts/sums.mjs
|
||||
|
||||
- name: get-npm-version
|
||||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@main
|
||||
with:
|
||||
path: packages/desktop
|
||||
|
||||
- name: Generate Release Notes
|
||||
uses: ./actions/release-notes
|
||||
with:
|
||||
package: web desktop
|
||||
id: release-notes
|
||||
continue-on-error: true
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
tag_name: "@standardnotes/desktop@${{ steps.package-version.outputs.current-version}}"
|
||||
name: "Desktop ${{ steps.package-version.outputs.current-version }}"
|
||||
body: ${{ steps.release-notes.outputs.result }}
|
||||
prerelease: true
|
||||
draft: true
|
||||
name: "Desktop ${{ inputs.channel == 'beta' && 'Beta' || '' }} ${{ steps.package-version.outputs.current-version}}"
|
||||
draft: false
|
||||
files: packages/desktop/dist/*
|
||||
|
||||
- name: Notify Release Update
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
repository: ${{ secrets.RELEASES_EVENT_RECEIVING_REPO }}
|
||||
event-type: releases-updated-event
|
||||
|
||||
- name: Publish Snap
|
||||
continue-on-error: true
|
||||
run: |
|
||||
sudo snap install snapcraft --classic
|
||||
echo "${{ secrets.SNAPCRAFT_LOGIN_FILE }}" >> snapauth.txt
|
||||
snapcraft login --with=snapauth.txt
|
||||
snapcraft upload dist/standard-notes-${{ steps.package-version.outputs.current-version}}-linux-amd64.snap
|
||||
snapcraft upload dist/standard-notes-${{ steps.package-version.outputs.current-version}}-linux-amd64.snap --release stable,candidate,beta,edge
|
||||
|
||||
@@ -14,14 +14,17 @@ jobs:
|
||||
run:
|
||||
working-directory: packages/desktop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
- run: yarn install
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
- run: yarn install --immutable
|
||||
- run: yarn build:desktop
|
||||
- run: yarn run webpack --config desktop.webpack.prod.js
|
||||
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never
|
||||
- run: echo APP_VERSION=$(node -p "require('./package.json').version") >> $GITHUB_ENV
|
||||
- run: yarn run electron-builder --windows --x64 --ia32 --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
|
||||
|
||||
- name: Upload
|
||||
uses: actions/[email protected]
|
||||
@@ -40,10 +43,12 @@ jobs:
|
||||
run:
|
||||
working-directory: packages/desktop
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: assets
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
name: Deploy Docs to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- packages/docs/**
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy to GitHub Pages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
run: yarn workspace @standardnotes/docs run build
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
publish_dir: ./packages/docs/build
|
||||
@@ -1,4 +1,13 @@
|
||||
on: push
|
||||
name: Sync Repo
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- '*/*'
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
git-sync:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -11,3 +20,39 @@ jobs:
|
||||
destination_repo: "standardnotes/internal-app"
|
||||
destination_branch: "refs/heads/*"
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Sleep to allow git-sync to fully complete
|
||||
run: sleep 10
|
||||
shell: bash
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
repository: standardnotes/internal-app
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Extract branch name
|
||||
shell: bash
|
||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||
id: extract_branch
|
||||
|
||||
- name: Find open PR
|
||||
uses: juliangruber/find-pull-request-action@v1
|
||||
id: find-pull-request
|
||||
with:
|
||||
branch: ${{ steps.extract_branch.outputs.branch }}
|
||||
- run: echo "Pull Request ${number} (${sha})"
|
||||
env:
|
||||
number: ${{ steps.find-pull-request.outputs.number }}
|
||||
sha: ${{ steps.find-pull-request.outputs.head-sha }}
|
||||
|
||||
- uses: peter-evans/create-pull-request@v4
|
||||
if: startsWith(github.event.head_commit.message, 'chore(deps)') == false && startsWith(github.event.head_commit.message, 'chore(deps-dev)') == false
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
base: main
|
||||
title: ${{ steps.extract_branch.outputs.branch }}
|
||||
body: "Public PR: https://github.com/standardnotes/app/pull/${{ steps.find-pull-request.outputs.number }}"
|
||||
assignees: ${{ github.actor }}
|
||||
reviewers: ${{ github.actor }}
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
name: Mobile Build Development
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/*mobile*beta*'
|
||||
- '*standardnotes/*mobile*alpha*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
android:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Export version from package.json
|
||||
run: |
|
||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
|
||||
- name: Setup react-native kernel and increase watchers
|
||||
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
||||
- name: Decode Dev Android keystore
|
||||
run: |
|
||||
echo "${{ secrets.DEV_KEYSTORE }}" > keystore.keystore.asc
|
||||
gpg -d --passphrase "${{ secrets.DEV_KEYSTORE_PASSPHRASE }}" --batch keystore.keystore.asc > android/app/keystore.keystore
|
||||
- name: Ruby Setup for Fastlane
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- run: yarn build:mobile
|
||||
- name: fastlane
|
||||
uses: maierj/[email protected]
|
||||
env:
|
||||
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
|
||||
BUILD_NUMBER: ${{ github.run_number }}
|
||||
ANDROID_KEYSTORE_ALIAS: ${{ secrets.DEV_ANDROID_KEYSTORE_ALIAS }}
|
||||
ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: ${{ secrets.DEV_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD }}
|
||||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.DEV_ANDROID_KEYSTORE_PASSWORD }}
|
||||
GOOGLE_PLAY_JSON_KEY_DATA: ${{ secrets.GOOGLE_PLAY_JSON_KEY_DATA }}
|
||||
with:
|
||||
lane: 'android dev'
|
||||
subdirectory: 'packages/mobile'
|
||||
- name: Upload universal apk to artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dev.apk
|
||||
path: android/app/build/outputs/apk/dev/release/app-dev-release.apk
|
||||
ios:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
runs-on: macos-11
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Export version from package.json
|
||||
run: |
|
||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
|
||||
- name: Ruby Setup for Fastlane
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install dependencies
|
||||
run: yarn install && yarn install:pods
|
||||
- run: yarn build:mobile
|
||||
- name: Set ssh connection to Github
|
||||
uses: webfactory/[email protected]
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
- name: Export Apple AppStore Connect API key
|
||||
run: echo "${{ secrets.APPSTORE_CONNECT_KEY }}" > ios/Authkey.p8
|
||||
- name: Setup fastlane
|
||||
uses: maierj/[email protected]
|
||||
env:
|
||||
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
||||
with:
|
||||
lane: 'ios setup'
|
||||
subdirectory: 'packages/mobile'
|
||||
- name: fastlane
|
||||
uses: maierj/[email protected]
|
||||
env:
|
||||
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
|
||||
APPLE_APP_ID: ${{ secrets.DEV_APP_APPLE_ID }}
|
||||
APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }}
|
||||
APPSTORE_CONNECT_KEY_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ISSUER_ID }}
|
||||
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
|
||||
FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
MATCH_CERTIFICATES_URL: ${{ secrets.MATCH_CERTIFICATES_URL }}
|
||||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
||||
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
|
||||
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
|
||||
BUILD_NUMBER: ${{ github.run_number }}
|
||||
with:
|
||||
lane: 'ios dev'
|
||||
subdirectory: 'packages/mobile'
|
||||
@@ -1,11 +1,9 @@
|
||||
name: Mobile Build Production
|
||||
name: Mobile Release Production
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/mobile*'
|
||||
- '!*standardnotes/mobile*beta*'
|
||||
- '!*standardnotes/mobile*alpha*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -17,7 +15,7 @@ jobs:
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Export version from package.json
|
||||
run:
|
||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
|
||||
@@ -28,7 +26,7 @@ jobs:
|
||||
echo "${{ secrets.ANDROID_KEYSTORE }}" > keystore.keystore.asc
|
||||
gpg -d --passphrase "${{ secrets.KEYSTORE_PASSPHRASE }}" --batch keystore.keystore.asc > android/app/keystore.keystore
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
run: yarn install --immutable
|
||||
- run: yarn build:mobile
|
||||
- name: Ruby Setup for Fastlane
|
||||
uses: ruby/setup-ruby@v1
|
||||
@@ -44,17 +42,36 @@ jobs:
|
||||
with:
|
||||
lane: 'android prod'
|
||||
subdirectory: 'packages/mobile'
|
||||
- name: Upload universal apk to artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
- name: get-npm-version
|
||||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@main
|
||||
with:
|
||||
name: prod.apk
|
||||
path: android/app/build/outputs/apk/prod/release/app-prod-release.apk
|
||||
- name: Upload Android App Bundle to artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
path: packages/mobile
|
||||
|
||||
- name: Generate Release Notes
|
||||
uses: ./actions/release-notes
|
||||
with:
|
||||
name: release.aab
|
||||
path: android/app/build/outputs/bundle/prodRelease/app-prod-release.aab
|
||||
package: mobile
|
||||
id: release-notes
|
||||
continue-on-error: true
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
tag_name: "@standardnotes/mobile@${{ steps.package-version.outputs.current-version}}"
|
||||
name: "Mobile ${{ steps.package-version.outputs.current-version }}"
|
||||
body: ${{ steps.release-notes.outputs.result }}
|
||||
prerelease: true
|
||||
draft: false
|
||||
files: |
|
||||
packages/mobile/android/app/build/outputs/bundle/prodRelease/app-prod-release.aab
|
||||
packages/mobile/android/app/build/outputs/apk/prod/release/app-prod-release.apk
|
||||
|
||||
ios:
|
||||
env:
|
||||
ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD: true
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
@@ -62,12 +79,12 @@ jobs:
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Export version from package.json
|
||||
run:
|
||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
|
||||
- name: Install dependencies
|
||||
run: yarn install && yarn install:pods
|
||||
run: yarn install --immutable && yarn install:pods
|
||||
- run: yarn build:mobile
|
||||
- name: Set ssh connection to Github
|
||||
uses: webfactory/[email protected]
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
name: Mobile TestFlight
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/mobile*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
android:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Export version from package.json
|
||||
run: |
|
||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
|
||||
- name: Setup react-native kernel and increase watchers
|
||||
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
||||
- name: Decode Dev Android keystore
|
||||
run: |
|
||||
echo "${{ secrets.DEV_KEYSTORE }}" > keystore.keystore.asc
|
||||
gpg -d --passphrase "${{ secrets.DEV_KEYSTORE_PASSPHRASE }}" --batch keystore.keystore.asc > android/app/keystore.keystore
|
||||
- name: Ruby Setup for Fastlane
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
- run: yarn build:mobile
|
||||
- name: fastlane
|
||||
uses: maierj/[email protected]
|
||||
env:
|
||||
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
|
||||
BUILD_NUMBER: ${{ github.run_number }}
|
||||
ANDROID_KEYSTORE_ALIAS: ${{ secrets.DEV_ANDROID_KEYSTORE_ALIAS }}
|
||||
ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD: ${{ secrets.DEV_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD }}
|
||||
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.DEV_ANDROID_KEYSTORE_PASSWORD }}
|
||||
GOOGLE_PLAY_JSON_KEY_DATA: ${{ secrets.GOOGLE_PLAY_JSON_KEY_DATA }}
|
||||
with:
|
||||
lane: 'android dev'
|
||||
subdirectory: 'packages/mobile'
|
||||
|
||||
- name: get-npm-version
|
||||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@main
|
||||
with:
|
||||
path: packages/mobile
|
||||
ios:
|
||||
env:
|
||||
ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD: true
|
||||
defaults:
|
||||
run:
|
||||
working-directory: packages/mobile
|
||||
runs-on: macos-11
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Export version from package.json
|
||||
run: |
|
||||
echo "PACKAGE_VERSION=$(grep '"version"' package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV
|
||||
- name: Ruby Setup for Fastlane
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable && yarn install:pods
|
||||
- run: yarn build:mobile
|
||||
- name: Set ssh connection to Github
|
||||
uses: webfactory/[email protected]
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
- name: Export Apple AppStore Connect API key
|
||||
run: echo "${{ secrets.APPSTORE_CONNECT_KEY }}" > ios/Authkey.p8
|
||||
- name: Setup fastlane
|
||||
uses: maierj/[email protected]
|
||||
env:
|
||||
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
||||
with:
|
||||
lane: 'ios setup'
|
||||
subdirectory: 'packages/mobile'
|
||||
- name: fastlane
|
||||
uses: maierj/[email protected]
|
||||
env:
|
||||
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
|
||||
APPLE_APP_ID: ${{ secrets.DEV_APP_APPLE_ID }}
|
||||
APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }}
|
||||
APPSTORE_CONNECT_KEY_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ISSUER_ID }}
|
||||
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
|
||||
FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}
|
||||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
|
||||
MATCH_CERTIFICATES_URL: ${{ secrets.MATCH_CERTIFICATES_URL }}
|
||||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
||||
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
|
||||
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
|
||||
BUILD_NUMBER: ${{ github.run_number }}
|
||||
with:
|
||||
lane: 'ios dev'
|
||||
subdirectory: 'packages/mobile'
|
||||
@@ -1,73 +0,0 @@
|
||||
name: Mobile e2e
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
android:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./packages/mobile
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Download Android Emulator Image
|
||||
run: |
|
||||
$ANDROID_HOME/tools/bin/sdkmanager --install "system-images;android-28;default;x86_64"
|
||||
$ANDROID_HOME/tools/bin/avdmanager create avd -n pixel -d "Nexus 5X" --package "system-images;android-28;default;x86_64"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Add usesCleartextTraffic to release AndroidManifest.xml
|
||||
run: yarn replace-in-file '<application' '<application android:usesCleartextTraffic="true"' ./android/app/src/main/AndroidManifest.xml
|
||||
|
||||
- name: Build for detox
|
||||
env:
|
||||
DETOX_CI: true
|
||||
run: yarn detox build --configuration android.emu.release
|
||||
|
||||
- name: Setup Emulator
|
||||
timeout-minutes: 10
|
||||
run: |
|
||||
echo "Starting emulator"
|
||||
nohup $ANDROID_HOME/emulator/emulator -avd pixel -no-audio -no-snapshot -no-window -gpu swiftshader_indirect &
|
||||
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
|
||||
$ANDROID_HOME/platform-tools/adb shell settings put global window_animation_scale 0 &
|
||||
$ANDROID_HOME/platform-tools/adb shell settings put global transition_animation_scale 0 &
|
||||
$ANDROID_HOME/platform-tools/adb shell settings put global animator_duration_scale 0 &
|
||||
echo "Emulator started"
|
||||
- name: Run tests
|
||||
run: yarn detox test --configuration android.emu.release
|
||||
|
||||
ios:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./packages/mobile
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Install Pods
|
||||
run: npx pod-install ios
|
||||
|
||||
- name: Install detox dependencies
|
||||
run: brew tap wix/brew
|
||||
- name: Install simulator utils
|
||||
run: brew install applesimutils
|
||||
- name: Build for detox
|
||||
run: yarn detox build --configuration ios.sim.release
|
||||
- name: Run tests
|
||||
run: yarn detox test --configuration ios.sim.release
|
||||
@@ -3,7 +3,6 @@ name: Components PR
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
- main
|
||||
paths:
|
||||
- packages/components/**
|
||||
@@ -13,26 +12,27 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Build components
|
||||
run: yarn build:components
|
||||
|
||||
- name: Lint components
|
||||
run: yarn components:lint
|
||||
run: yarn lint
|
||||
working-directory: packages/components
|
||||
- name: Compile components
|
||||
run: yarn components:compile
|
||||
working-directory: packages/components
|
||||
|
||||
- name: Test components
|
||||
run: yarn components:test
|
||||
run: yarn test
|
||||
working-directory: packages/components
|
||||
|
||||
- name: Lint all
|
||||
run: yarn lint
|
||||
- name: Build all
|
||||
run: yarn build:all
|
||||
- name: Lint all
|
||||
run: yarn lint
|
||||
- name: Test all
|
||||
run: yarn test
|
||||
|
||||
@@ -3,25 +3,23 @@ name: General PR
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
- main
|
||||
paths:
|
||||
- packages/!(components)/**
|
||||
- '**/**'
|
||||
- '!packages/components/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- name: ESLint
|
||||
run: yarn lint
|
||||
run: yarn install --immutable
|
||||
- name: Build
|
||||
run: yarn build:all
|
||||
- name: ESLint
|
||||
run: yarn lint
|
||||
- name: Build Android
|
||||
run: yarn android:bundle
|
||||
- name: Test
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
name: Publish Packages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false }}"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Setup git config
|
||||
run: |
|
||||
git config --global user.name "standardci"
|
||||
git config --global user.email "[email protected]"
|
||||
- name: Import GPG key
|
||||
uses: crazy-max/ghaction-import-gpg@v4
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
git_user_signingkey: true
|
||||
git_commit_gpgsign: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
|
||||
- name: Build
|
||||
run: yarn build:all
|
||||
|
||||
- name: ESLint
|
||||
run: yarn lint
|
||||
|
||||
- name: Build Android
|
||||
run: yarn android:bundle
|
||||
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
- name: Login to Docker Hub
|
||||
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Publish SNJS Docker image for E2E testing
|
||||
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
|
||||
run: |
|
||||
yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }}
|
||||
docker push standardnotes/snjs:${{ github.sha }}
|
||||
|
||||
- name: Run E2E test suite
|
||||
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
|
||||
uses: convictional/[email protected]
|
||||
with:
|
||||
owner: standardnotes
|
||||
repo: e2e
|
||||
github_token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
workflow_file_name: testing-with-stable-server.yml
|
||||
wait_interval: 30
|
||||
client_payload: '{"image_tag": "${{ github.sha }}"}'
|
||||
propagate_failure: true
|
||||
trigger_workflow: true
|
||||
wait_workflow: true
|
||||
|
||||
- name: Bump version
|
||||
run: yarn release:prod
|
||||
|
||||
- name: Publish
|
||||
run: yarn publish:prod
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_TOKEN }}
|
||||
|
||||
- name: Publish SNJS Docker image as stable
|
||||
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
|
||||
run: |
|
||||
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest
|
||||
docker push standardnotes/snjs:latest
|
||||
@@ -0,0 +1,53 @@
|
||||
name: SNJS PR — E2E Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'packages/api/**'
|
||||
- 'packages/encryption/**'
|
||||
- 'packages/features/**'
|
||||
- 'packages/filepicker/**'
|
||||
- 'packages/files/**'
|
||||
- 'packages/models/**'
|
||||
- 'packages/responses/**'
|
||||
- 'packages/services/**'
|
||||
- 'packages/sncrypto-common/**'
|
||||
- 'packages/sncrypto-web/**'
|
||||
- 'packages/snjs/**'
|
||||
- 'packages/utils/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
- name: Build
|
||||
run: yarn build:snjs
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Publish SNJS Docker image for E2E testing
|
||||
run: |
|
||||
yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }}
|
||||
docker push standardnotes/snjs:${{ github.sha }}
|
||||
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:test
|
||||
docker push standardnotes/snjs:test
|
||||
- name: Run E2E test suite
|
||||
uses: convictional/[email protected]
|
||||
with:
|
||||
owner: standardnotes
|
||||
repo: e2e
|
||||
github_token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
workflow_file_name: testing-with-stable-server.yml
|
||||
wait_interval: 30
|
||||
client_payload: '{"image_tag": "${{ github.sha }}"}'
|
||||
propagate_failure: true
|
||||
trigger_workflow: true
|
||||
wait_workflow: true
|
||||
@@ -0,0 +1,48 @@
|
||||
name: Update SNJS Packages
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
repository_dispatch:
|
||||
types: [snjs-updated-event]
|
||||
|
||||
jobs:
|
||||
SNJSUpdateEvent:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: main
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
node-version-file: '.nvmrc'
|
||||
cache: 'yarn'
|
||||
- name: Setup git config
|
||||
run: |
|
||||
git config --global user.name "standardci"
|
||||
git config --global user.email "[email protected]"
|
||||
- name: Import GPG key
|
||||
uses: crazy-max/ghaction-import-gpg@v4
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
git_user_signingkey: true
|
||||
git_commit_gpgsign: true
|
||||
|
||||
- run: yarn install
|
||||
- run: |
|
||||
yarn upgrade:snjs
|
||||
yarn install --no-immutable
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
title: "${{ 'chore(deps): upgrade snjs' }}"
|
||||
body: Updates all packages prefixed with "@standardnotes/" in root workspace, web, and mobile.
|
||||
commit-message: "${{ 'chore(deps): upgrade snjs' }}"
|
||||
delete-branch: true
|
||||
committer: standardci <[email protected]>
|
||||
author: standardci <[email protected]>
|
||||
@@ -1,67 +0,0 @@
|
||||
name: Version Bump
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop, main ]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
if: contains(github.event.head_commit.message, 'chore(release)') == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.CI_PAT_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup git config
|
||||
run: |
|
||||
git config --global user.name "standardci"
|
||||
git config --global user.email "[email protected]"
|
||||
- name: Import GPG key
|
||||
uses: crazy-max/ghaction-import-gpg@v4
|
||||
with:
|
||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
passphrase: ${{ secrets.PASSPHRASE }}
|
||||
git_user_signingkey: true
|
||||
git_commit_gpgsign: true
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Get Changed Components Files
|
||||
id: changed-component-files
|
||||
uses: tj-actions/changed-files@v23
|
||||
with:
|
||||
files: packages/components/**
|
||||
|
||||
- name: Compile Components
|
||||
if: steps.changed-component-files.outputs.any_changed == 'true'
|
||||
run: yarn components:clean && yarn components:compile
|
||||
working-directory: packages/components
|
||||
- name: Package and Commit Components
|
||||
if: steps.changed-component-files.outputs.any_changed == 'true'
|
||||
run: |
|
||||
node packages/components/scripts/package.mjs
|
||||
git add .
|
||||
(git commit -m 'chore(release): components') || true
|
||||
|
||||
- name: Bump Prod Version Graduate
|
||||
continue-on-error: true
|
||||
id: graduateRelease
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
run: yarn release:prod:graduate
|
||||
|
||||
- name: Bump Prod Version Fallback
|
||||
if: ${{ always() && github.ref == 'refs/heads/main' && steps.graduateRelease.outcome == 'failure' }}
|
||||
run: |
|
||||
echo Falling back to non-graduate release due to https://github.com/lerna/lerna/issues/2532
|
||||
git stash
|
||||
yarn release:prod
|
||||
|
||||
- name: Bump Beta Version
|
||||
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||
run: yarn release:beta
|
||||
@@ -1,78 +0,0 @@
|
||||
name: Web Server Beta
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ beta/* ]
|
||||
paths:
|
||||
- packages/web-server/**
|
||||
- packages/web/**
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- name: ESLint
|
||||
run: yarn lint
|
||||
- name: Build
|
||||
run: yarn build:web-server
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Copy robots.txt
|
||||
run: cp public/robots.txt.development public/robots.txt
|
||||
- name: Publish to Registry
|
||||
uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: standardnotes/web
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tags: "beta,${{ github.sha }}"
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
- name: Download task definition
|
||||
run: |
|
||||
aws ecs describe-task-definition --task-definition app-beta-dev --query taskDefinition > task-definition.json
|
||||
|
||||
- name: Fill in the new image ID in the Amazon ECS task definition
|
||||
id: task-def
|
||||
uses: aws-actions/amazon-ecs-render-task-definition@v1
|
||||
with:
|
||||
task-definition: task-definition.json
|
||||
container-name: app-beta-dev
|
||||
image: "standardnotes/web:${{ github.sha }}"
|
||||
|
||||
- name: Deploy Amazon ECS task definition
|
||||
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
|
||||
with:
|
||||
task-definition: ${{ steps.task-def.outputs.task-definition }}
|
||||
service: app-beta-dev
|
||||
cluster: dev
|
||||
wait-for-service-stability: true
|
||||
|
||||
notify_discord:
|
||||
needs: deploy
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Run Discord Webhook
|
||||
uses: johnnyhuy/actions-discord-git-webhook@main
|
||||
with:
|
||||
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||
@@ -1,87 +0,0 @@
|
||||
name: Web Server Dev
|
||||
|
||||
concurrency:
|
||||
group: dev_environment
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/*web-server*beta*'
|
||||
- '*standardnotes/*web-server*alpha*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- name: ESLint
|
||||
run: yarn lint
|
||||
- name: Build
|
||||
run: yarn build:web-server
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: test
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Copy robots.txt
|
||||
run: cp packages/web-server/public/robots.txt.development packages/web-server/public/robots.txt
|
||||
|
||||
- name: Publish to Registry
|
||||
uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: standardnotes/web
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tags: "latest,${{ github.sha }}"
|
||||
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
|
||||
- name: Download task definition
|
||||
run: |
|
||||
aws ecs describe-task-definition --task-definition app-dev --query taskDefinition > task-definition.json
|
||||
|
||||
- name: Fill in the new image ID in the Amazon ECS task definition
|
||||
id: task-def
|
||||
uses: aws-actions/amazon-ecs-render-task-definition@v1
|
||||
with:
|
||||
task-definition: task-definition.json
|
||||
container-name: app-dev
|
||||
image: "standardnotes/web:${{ github.sha }}"
|
||||
|
||||
- name: Deploy Amazon ECS task definition
|
||||
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
|
||||
with:
|
||||
task-definition: ${{ steps.task-def.outputs.task-definition }}
|
||||
service: app-dev
|
||||
cluster: dev
|
||||
wait-for-service-stability: true
|
||||
|
||||
notify_discord:
|
||||
needs: deploy
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Run Discord Webhook
|
||||
uses: johnnyhuy/actions-discord-git-webhook@main
|
||||
with:
|
||||
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Web Server Prod
|
||||
name: Web Deploy
|
||||
|
||||
concurrency:
|
||||
group: prod_environment
|
||||
@@ -7,72 +7,52 @@ concurrency:
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*standardnotes/*web-server*'
|
||||
- '!*standardnotes/*web-server*beta*'
|
||||
- '!*standardnotes/*web-server*alpha*'
|
||||
- '*standardnotes/*web*'
|
||||
- '!*standardnotes/*web*beta*'
|
||||
- '!*standardnotes/*web*alpha*'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
run: yarn install --immutable
|
||||
- name: Build
|
||||
run: yarn build:web
|
||||
- name: ESLint
|
||||
run: yarn lint
|
||||
- name: Build
|
||||
run: yarn build:web-server
|
||||
- name: Test
|
||||
run: yarn test
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: test
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Copy robots.txt
|
||||
run: cp packages/web-server/public/robots.txt.production packages/web-server/public/robots.txt
|
||||
|
||||
- name: Publish to Registry
|
||||
uses: elgohr/Publish-Docker-Github-Action@master
|
||||
with:
|
||||
name: standardnotes/web
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tags: "stable,${{ github.sha }}"
|
||||
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
|
||||
- name: Download task definition
|
||||
run: |
|
||||
aws ecs describe-task-definition --task-definition app-prod --query taskDefinition > task-definition.json
|
||||
|
||||
- name: Fill in the new image ID in the Amazon ECS task definition
|
||||
id: task-def
|
||||
uses: aws-actions/amazon-ecs-render-task-definition@v1
|
||||
with:
|
||||
task-definition: task-definition.json
|
||||
container-name: app-prod
|
||||
image: "standardnotes/web:${{ github.sha }}"
|
||||
|
||||
- name: Deploy Amazon ECS task definition
|
||||
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
|
||||
with:
|
||||
task-definition: ${{ steps.task-def.outputs.task-definition }}
|
||||
service: app-prod
|
||||
cluster: prod
|
||||
wait-for-service-stability: true
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: yarn install --immutable
|
||||
- name: Build
|
||||
run: yarn build:web
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
- name: Deploy static site to S3 bucket
|
||||
run: aws s3 sync packages/web/dist/ s3://app.standardnotes.com --delete
|
||||
- name: Invalidate CloudFront Cache
|
||||
uses: chetan/invalidate-cloudfront-action@master
|
||||
env:
|
||||
DISTRIBUTION: ${{ secrets.WEBAPP_CLOUDFRONT_DISTRIBUTION_ID }}
|
||||
PATHS: '/*'
|
||||
AWS_REGION: 'us-east-1'
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
|
||||
notify_discord:
|
||||
needs: deploy
|
||||
|
||||
+15
-6
@@ -3,22 +3,31 @@
|
||||
.vscode
|
||||
.idea
|
||||
node_modules
|
||||
|
||||
packages/web/dist
|
||||
|
||||
.sass-cache
|
||||
|
||||
.env
|
||||
.ssh
|
||||
dump.rdb
|
||||
.vscode
|
||||
/dist
|
||||
yarn-error.log
|
||||
package-lock.json
|
||||
codeqldb
|
||||
coverage
|
||||
lerna-debug.log
|
||||
|
||||
packages/web/dist
|
||||
packages/filepicker/dist
|
||||
packages/features/dist
|
||||
packages/encryption/dist
|
||||
packages/files/dist
|
||||
packages/models/dist
|
||||
packages/services/dist
|
||||
packages/utils/dist
|
||||
packages/api/dist
|
||||
packages/responses/dist
|
||||
packages/sncrypto-common/dist
|
||||
packages/sncrypto-web/dist
|
||||
packages/snjs/dist
|
||||
|
||||
**/.pnp.*
|
||||
**/.yarn/*
|
||||
!.yarn/patches
|
||||
@@ -26,4 +35,4 @@ lerna-debug.log
|
||||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
!.yarn/cache
|
||||
!.yarn/cache
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user