Compare commits

...
Author SHA1 Message Date
StandardNotes CI b71a797681 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
2022-06-24 13:06:21 +00:00
Mo 50136d9373 chore: workflows 2022-06-24 08:04:03 -05:00
StandardNotes CI 34f00c5946 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
2022-06-24 13:01:27 +00:00
Mo 5855e44870 chore(workflow): names 2022-06-24 07:59:16 -05:00
Mo f0283f51f2 chore(workflow): snjs upgrades 2022-06-24 07:52:07 -05:00
StandardNotes CI a345f4f97e chore(release): publish
- @standardnotes/[email protected].4
 - @standardnotes/[email protected]
2022-06-24 12:39:51 +00:00
Mo e83452785c fix(mobile): force redownload of themes if unable to parse first time (#1150) 2022-06-24 07:37:49 -05:00
Mo 4f5323140a chore(workflow): default mobile releases to prerelease: true
electron-builder autoupdate uses github.com/standardnotes/app/releases/latest to determine if there is a new update. However it does not properly handle monorepos with multi-package releases. As a temporary measure until a better solution is found, only the desktop app should be able to have non-prerelease releases.
2022-06-24 06:28:35 -05:00
Mo 6f17902766 chore(workflow): remove desktop beta labeling 2022-06-23 20:29:05 -05:00
StandardNotes CI 67961838d2 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-24 01:26:15 +00:00
Mo acfc5b782b chore: retrigger all apps to redeploy by updating components package 2022-06-23 20:21:32 -05:00
Mo bd66b191a5 chore: workflows for removal of develop branch 2022-06-23 20:02:20 -05:00
StandardNotes CI c859876bb5 chore(release): publish main
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-23 22:25:26 +00:00
StandardNotes CI 1d015365a9 chore(release): components 2022-06-23 22:25:12 +00:00
StandardNotes CI 4bb227bdce chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].2-alpha.2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-23 22:17:16 +00:00
StandardNotes CI 23e9a5b511 chore(release): components 2022-06-23 22:17:03 +00:00
Johnny AandJohnny Almonte a3a0952e68 fix: add deprecated file-safe component (#1141)
* fix: add deprecated file-safe component

* chore: add file-safe source

* fix: file-safe build script

* chore: run package script

* fix: use root node-sass

* chore: remove zip so CI generates it

* chore: commit dist files

* chore: remove dist/assets/org.standardnotes.file-safe files

* chore: remove changelog script

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-23 18:12:16 -04:00
StandardNotes CI 3cece858b1 chore(release): publish
- @standardnotes/[email protected].1
 - @standardnotes/[email protected].2-alpha.1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3-alpha.1
2022-06-23 21:37:51 +00:00
Mo fedcffbdfd chore: explicit snjs version in web and mobile so they are repackaged when snjs changes 2022-06-23 16:36:07 -05:00
Mo 9cef147a10 chore: upgrade snjs (#1145) 2022-06-23 15:51:10 -05:00
StandardNotes CI e7e90eb350 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected].2-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-23 20:11:32 +00:00
StandardNotes CI 24bb5e3b0c chore(release): components 2022-06-23 20:11:17 +00:00
Mo 2d069fd4bd fix(components): disable minification in themes build due to limitations in mobile css parser (#1143) 2022-06-23 15:05:12 -05:00
StandardNotes CI 06d452b57f chore(release): publish
- @standardnotes/[email protected]
2022-06-23 19:43:53 +00:00
Mo 9789fc2000 fix(releases): types (#1142) 2022-06-23 14:42:11 -05:00
StandardNotes CI cb128e5de1 chore(release): publish main
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
2022-06-23 14:34:41 +00:00
StandardNotes CI 2401c2fcb4 chore(release): components 2022-06-23 14:34:29 +00:00
StandardNotes CI 36f92a3589 chore(release): publish
- @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2-alpha.1
2022-06-23 14:17:27 +00:00
Mo 6d98cf6929 chore: workflow trigger 2022-06-23 09:15:05 -05:00
Mo 0d62472019 chore(workflow): fix dockerignore to include all workspace packages 2022-06-23 09:12:20 -05:00
StandardNotes CI 020e0f8543 chore(release): publish
- @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2-alpha.0
2022-06-23 13:39:55 +00:00
Mo da336da44a chore: lockfile 2022-06-23 08:37:44 -05:00
Mo ea0e9fbb27 chore: attempt web docker fix 2022-06-23 08:34:10 -05:00
StandardNotes CI df62e28440 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected].1-alpha.1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-23 13:32:29 +00:00
StandardNotes CI 46ff53b3c6 chore(release): components 2022-06-23 13:32:17 +00:00
Mo f8e6632b57 chore: components build workflow 2022-06-23 08:27:42 -05:00
StandardNotes CI b0944a29ed chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected].1-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-23 13:17:54 +00:00
StandardNotes CI edaa1548d4 chore(release): components 2022-06-23 13:17:38 +00:00
Mo d807ab26d2 chore: workflow trigger 2022-06-23 08:11:17 -05:00
StandardNotes CI 4217edeb0c chore(release): publish main
- @standardnotes/[email protected]
2022-06-23 00:10:07 +00:00
StandardNotes CI 70e9deccb7 chore(release): publish
- @standardnotes/[email protected]
2022-06-23 00:06:29 +00:00
Mo 6fb133fb75 feat: release json with download urls (#1140) 2022-06-22 19:04:42 -05:00
StandardNotes CI 4a9471858b chore(release): publish main
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
2022-06-22 21:11:46 +00:00
StandardNotes CI 018e71d9c4 chore(release): publish
- @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1-alpha.0
2022-06-22 21:08:51 +00:00
Mo 4e0f102a1c chore: workflow trigger 2022-06-22 16:06:48 -05:00
StandardNotes CI 95602858a7 chore(release): publish main
- @standardnotes/[email protected]
2022-06-22 21:00:09 +00:00
StandardNotes CI 6c57788ab4 chore(release): publish
- @standardnotes/[email protected]
2022-06-22 20:56:39 +00:00
Mo f3ef8d0e20 chore: workflow 2022-06-22 15:54:09 -05:00
StandardNotes CI edcccd3332 chore(release): publish main
- @standardnotes/[email protected]
2022-06-22 20:48:11 +00:00
Mo e939085fc7 chore: workflow syntax 2022-06-22 15:44:53 -05:00
Mo 458d8dacaf chore(workflow): run publish prod workflows when merging develop to main 2022-06-22 15:38:00 -05:00
StandardNotes CI fe3c8153bd chore(release): publish
- @standardnotes/[email protected]
2022-06-22 20:25:05 +00:00
Mo c3b5620bf6 fix: add direct dependencies to releases package so its version is bumped when deps are 2022-06-22 15:22:55 -05:00
StandardNotes CI 5f52b5a454 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 20:14:08 +00:00
StandardNotes CI b7e480e2c5 chore(release): components 2022-06-22 20:14:00 +00:00
Mo 76ba98ffb8 chore(workflow): fix syntax 2022-06-22 15:08:10 -05:00
Mo 1b32b2f351 chore(workflow): notify when releases upgraded 2022-06-22 15:06:43 -05:00
StandardNotes CI facd76eb54 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.10
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 18:43:02 +00:00
StandardNotes CI b02d1efaed chore(release): components 2022-06-22 18:42:53 +00:00
Johnny AandJohnny Almonte 8e090ad04f chore(deps): update code editor vendor files (#1137)
* chore(deps): update code editor vendor files

* fix: codemirror paths

* chore: update vendor files

* fix: remove vendor folder

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-22 14:37:38 -04:00
StandardNotes CI a5590af158 chore(release): publish
- @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.7
2022-06-22 17:02:10 +00:00
Aman Harwara b0911b1574 feat: move display options to icon button in header (#1138) 2022-06-22 22:30:22 +05:30
StandardNotes CI d899e737bc chore(release): publish
- @standardnotes/[email protected].0-alpha.9
2022-06-22 16:54:23 +00:00
Mo 4db63e3a63 fix(mobile): enable workspaces (#1139) 2022-06-22 11:52:32 -05:00
StandardNotes CI 480d17f2b6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected].0-alpha.8
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 16:43:43 +00:00
StandardNotes CI 18eb1f2578 chore(release): components 2022-06-22 16:43:35 +00:00
Johnny AandJohnny Almonte e80b4d0ffa fix: components scripts (#1136)
* fix: components test script

* fix: lint & format script

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-22 12:38:56 -04:00
Johnny AandJohnny Almonte 7c0938b877 feat: optional secret field (#1115)
* fix: add grab cursor to drag indicator

* feat: optional secret field

* chore: increment version

* chore: format files

* fix: import React automatically

* fix: qr code button not clickable

* fix: show entry types after title

* fix: remove stylekit references

* fix: import react

* chore: update yarn.lock

* fix: update webpack dev config

* fix: styles import path

* fix: skalert import

* fix: misc

* fix: build components using build:components script

* fix(tmp): @standardnotes/styles as a dependency for @standardnotes/components-meta

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-22 10:32:43 -04:00
StandardNotes CI 6f6cbff855 chore(release): publish
- @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.5
2022-06-22 14:23:46 +00:00
Aman Harwara 73c65c3714 chore: lint warn on console.log (#1135) 2022-06-22 19:51:52 +05:30
StandardNotes CI 91de7db609 chore(release): publish
- @standardnotes/[email protected].6
 - @standardnotes/[email protected].0-alpha.7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.4
2022-06-22 12:59:14 +00:00
Mo 957ee5fc85 chore: bump snjs 2022-06-22 07:57:29 -05:00
Mo d798d1c6da chore(workflow): codeql continue on error 2022-06-22 07:31:07 -05:00
Mo 407104e317 chore(workflow): codeql v2 2022-06-22 07:22:41 -05:00
StandardNotes CI 1122394f91 chore(release): publish
- @standardnotes/[email protected].0-alpha.6
2022-06-22 12:20:55 +00:00
Vardan Hakobyan 0608203db5 fix: restore top border of "Manage Sessions" row (#1134) 2022-06-22 07:19:09 -05:00
StandardNotes CI 6be25ae828 chore(release): publish
- @standardnotes/[email protected].0-alpha.5
2022-06-22 12:18:08 +00:00
Mo 112ef2a2c8 fix(mobile): workspaces keychain 2022-06-22 07:15:37 -05:00
StandardNotes CI d833df1b74 chore(release): publish
- @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.3
2022-06-22 11:04:39 +00:00
Aman Harwara 3b80c170d2 feat: use styled-components for panel resizer (#1131) 2022-06-22 16:32:28 +05:30
StandardNotes CI b0b08ba912 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].0-alpha.4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-22 00:18:19 +00:00
StandardNotes CI c066885315 chore(release): components 2022-06-22 00:18:10 +00:00
Johnny AandJohnny Almonte 7b51131082 fix: build components with dependencies (#1132)
* fix: build components with dependencies

* fix: exclude @standardnotes/components-meta

* chore: update yarn.lock

* fix: remove compile script from VERSION.sh

* fix: skip lint script

* fix: components script names

* fix: build script for components

* fix: run tsc within build script

Co-authored-by: Johnny Almonte <[email protected]>
2022-06-21 20:13:26 -04:00
StandardNotes CI f1573e7112 chore(release): publish
- @standardnotes/[email protected].0-alpha.3
2022-06-21 20:40:24 +00:00
Vardan Hakobyan b25919099f fix: use a specific feature flag for workspace (#1133) 2022-06-22 00:38:40 +04:00
StandardNotes CI 13cb655d1c chore(release): publish
- @standardnotes/[email protected].0-alpha.2
2022-06-21 20:07:54 +00:00
Vardan Hakobyan 3b4797c243 fix: mobile workspace related fixes (#1130)
* feat: put workspaces under unfinished features flag

* fix: mention that signing out will quit the app

* fix: put more affected places under features flag
2022-06-22 00:06:08 +04:00
StandardNotes CI cb209b8dfd chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].0-alpha.1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-21 15:34:31 +00:00
StandardNotes CI 212f07194b chore(release): components 2022-06-21 15:34:23 +00:00
Johnny AandJohnny Almonte f4b9b5b566 fix: markdown visual font size (#1127)
Co-authored-by: Johnny Almonte <[email protected]>
2022-06-21 11:29:11 -04:00
StandardNotes CI 34eb1c80e4 chore(release): publish
- @standardnotes/[email protected].0-alpha.0
2022-06-21 11:48:27 +00:00
Vardan Hakobyan 7d60dfee73 feat: mobile workspaces (#1093) 2022-06-21 06:42:43 -05:00
StandardNotes CI 1f903f17d1 chore(release): publish
- @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.2
2022-06-21 11:28:12 +00:00
Aman Harwara ee69102001 fix: session history (#1128) 2022-06-21 16:56:33 +05:30
StandardNotes CI 0075fcd208 chore(release): publish
- @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.1
2022-06-21 07:21:28 +00:00
Aman Harwara 946d50b5df feat: add styled-components (#1126) 2022-06-21 12:49:30 +05:30
StandardNotes CI 49bb5c2001 chore(release): publish
- @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.0
2022-06-20 20:36:45 +00:00
Aman Harwara b6cd4bf6bf feat: add "Files Navigation" experimental feature to Labs (#1125) 2022-06-21 02:05:10 +05:30
StandardNotes CI 89b77660f5 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
2022-06-20 17:07:35 +00:00
StandardNotes CI 0699b5544e Merge branch 'develop' of https://github.com/standardnotes/app 2022-06-20 17:05:18 +00:00
Mo 31556891ef chore(workflows): git 2022-06-20 12:04:32 -05:00
Mo f527d5f265 chore(workflow): draft false if prod desktop release 2022-06-20 11:52:24 -05:00
Mo 08d07ad87a chore(workflow): promote develop workflow 2022-06-20 11:45:13 -05:00
StandardNotes CI 330f918a9d chore(release): publish
- @standardnotes/[email protected].3
2022-06-20 16:21:12 +00:00
Mo 296873d671 fix(desktop): linux executableName 2022-06-20 11:19:27 -05:00
StandardNotes CI c5804bec22 chore(release): publish
- @standardnotes/[email protected]
2022-06-20 16:09:21 +00:00
Mo 56bd64c7e6 chore: publish workflow 2022-06-20 11:07:32 -05:00
Mo 5ed29de542 chore: publish workflow 2022-06-20 11:04:16 -05:00
StandardNotes CI 4f66c96ac3 chore(release): publish
- @standardnotes/[email protected]
2022-06-20 15:59:20 +00:00
Mo 695a55f652 chore: release package dist 2022-06-20 10:57:34 -05:00
Mo 4fea3e9a6b feat: public releases package 2022-06-20 10:53:42 -05:00
Mo 3642fc882a chore(workflow): publish releases for mobile 2022-06-20 10:08:22 -05:00
StandardNotes CI d2d688b3fb chore(release): publish
- @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.1
2022-06-20 12:21:45 +00:00
Aman Harwara affe7247ba refactor: history modal (#1122) 2022-06-20 17:50:00 +05:30
StandardNotes CI 71463a9821 chore(release): publish
- @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0-alpha.0
2022-06-19 11:40:45 +00:00
Aman Harwara dcf3724e2c feat: ctrl+a to select all items (#1123) 2022-06-19 17:09:03 +05:30
StandardNotes CI 3e2e03f1de chore(release): publish
- @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.0
2022-06-18 21:02:48 +00:00
Aman Harwara dfbd72b1df fix: exporting multiple notes with same title (#1119) 2022-06-19 02:30:49 +05:30
Mo e7080dfe3f chore(workflow): pr paths 2022-06-18 15:06:36 -05:00
Mo d6b8909a14 chore(workflow): pr paths 2022-06-18 15:02:34 -05:00
Mo 81263015a1 chore(workflow): pr paths 2022-06-18 14:58:04 -05:00
StandardNotes CI e369b067b0 chore(release): publish
- @standardnotes/[email protected].8
2022-06-18 15:49:53 +00:00
Mo 006e29da31 Merge branch 'release/@standardnotes/[email protected]' 2022-06-18 10:47:39 -05:00
StandardNotes CI a589a81ecf chore(release): publish
- @standardnotes/[email protected].8-alpha.0
2022-06-18 15:45:59 +00:00
Mo ea37bbe53f fix(mobile): white screen issue with switching notes on iPad 2022-06-18 10:43:41 -05:00
StandardNotes CI 3b6b5b1887 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-18 14:51:19 +00:00
StandardNotes CI 3bc621b4fb chore(release): components 2022-06-18 14:51:10 +00:00
Mo 644dfe6ec6 Merge branch 'release/@standardnotes/[email protected]' 2022-06-18 09:45:09 -05:00
StandardNotes CI f2ed5d1a6c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6-alpha.0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-06-18 14:25:51 +00:00
StandardNotes CI 9e46ff5101 chore(release): components 2022-06-18 14:25:41 +00:00
Mo ba65948364 fix: plus editor icons (#1120) 2022-06-18 09:20:44 -05:00
StandardNotes CI cd645f74df chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
2022-06-17 21:56:34 +00:00
Mo 6b7f9b2648 Merge branch 'release/@standardnotes/[email protected]' 2022-06-17 16:50:49 -05:00
StandardNotes CI bd84706a9d chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected].6-alpha.0
 - @standardnotes/[email protected]
2022-06-17 21:47:13 +00:00
Mo 817d1ba1d8 chore: fix mobile merge overwrite 2022-06-17 16:42:35 -05:00
Mo 9158163b10 chore: fix web-server merge overwrite 2022-06-17 16:40:17 -05:00
Mo 3a51e033b6 chore: merge develop 2022-06-17 16:37:27 -05:00
Mo a736c0cd2c chore: merge main 2022-06-17 16:36:57 -05:00
StandardNotes CI a1b6e62dcb chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.6
 - @standardnotes/[email protected].4-alpha.3
 - @standardnotes/[email protected]
2022-06-17 21:29:00 +00:00
Mo 7dcd5abe20 chore: fix components packaging script 2022-06-17 16:24:08 -05:00
StandardNotes CI a6ddb5a348 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.5
 - @standardnotes/[email protected].4-alpha.2
 - @standardnotes/[email protected]
2022-06-17 21:17:46 +00:00
Mo 12a2369d17 refactor: mobile components (#1113)
* fix(mobile): freeze web-server assets to zips for mobile 3.23.3

Mobile 3.23.3 fetches components zips from the web-server cdn. This however causes upgraded cdn versions to fail when downloading from older mobile versions. This commit instead fetches versioned zips from an external cdn based on the static version of the app requesting the asset.

Since web-server is no longer needed as a cdn, we will temporarily freeze its zip assets to those that would be requested by Mobile 3.23.3, and commit them to source control so they remain unchanged.

web-server/public/components/assets will remain as-is (dynamically copied during build time of server), and not commited to source control. This cdn directory is only used by the web app.

* chore: disable commitlint length rule

* chore: clear git cache

* refactor: use package name from package file
2022-06-17 16:12:12 -05:00
StandardNotes CI 367ffdf254 chore(release): publish
- @standardnotes/[email protected].9
2022-06-17 16:54:46 +00:00
Mo b5d3308566 chore(workflow): trigger 2022-06-17 11:52:55 -05:00
Mo a09fe44c44 chore: merge conflicts 2022-06-17 11:47:59 -05:00
StandardNotes CI 8b7b70eae7 chore(release): publish
- @standardnotes/[email protected].7-alpha.4
2022-06-17 16:34:19 +00:00
Mo 9a3721d057 chore(workflow): desktop version 2022-06-17 11:32:36 -05:00
StandardNotes CI a584a70fb6 chore(release): publish
- @standardnotes/[email protected].7-alpha.3
2022-06-17 16:22:28 +00:00
Mo 66241cb038 fix(desktop): provide template version 2022-06-17 11:20:18 -05:00
StandardNotes CI 282dbedfb6 chore(release): publish
- @standardnotes/[email protected].7-alpha.2
2022-06-17 16:12:24 +00:00
Mo 93e97013c1 fix(desktop): use top level package json for versioning 2022-06-17 11:10:42 -05:00
StandardNotes CI 5964f91b2e chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
2022-06-17 14:36:36 +00:00
StandardNotes CI ff0716cf17 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
2022-06-17 14:34:06 +00:00
Mo ca49db56b2 Merge branch 'release/@standardnotes/[email protected]' 2022-06-17 09:29:10 -05:00
Mo daa72cb253 chore: git flow release template 2022-06-17 09:28:21 -05:00
Mo f5c2e6138a chore: merge main 2022-06-17 09:22:10 -05:00
StandardNotes CI ec5a2dc482 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.1
 - @standardnotes/[email protected].4-alpha.1
 - @standardnotes/[email protected]
2022-06-17 14:02:57 +00:00
Mo 957f58ac6c chore(workflow): fix desktop sums 2022-06-17 08:56:10 -05:00
StandardNotes CI b4f674911b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7-alpha.0
 - @standardnotes/[email protected].4-alpha.0
 - @standardnotes/[email protected]
2022-06-17 13:34:26 +00:00
StandardNotes CI 696824f3ed chore(release): components 2022-06-17 13:34:15 +00:00
Mo cd2579439c chore(yarn): update lockfile 2022-06-17 08:28:24 -05:00
Mo e94132ff28 chore(workflow): compile components with latest version set 2022-06-17 08:23:27 -05:00
StandardNotes CI fad77f2a3c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
2022-06-17 12:57:21 +00:00
StandardNotes CI 29e5855594 chore(release): components 2022-06-17 12:57:05 +00:00
Mo e4bef17dfa chore(workflow): fix desktop checksums script 2022-06-17 07:41:32 -05:00
StandardNotes CI aa45bd8a8c chore(release): publish
- @standardnotes/[email protected].6
2022-06-17 00:48:16 +00:00
Mo b44ee77534 chore(desktop): fix sums file 2022-06-16 19:46:11 -05:00
StandardNotes CI 12eee935b6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
2022-06-16 20:12:43 +00:00
Mo b7e4c47de7 chore(workflow): release glob patterns 2022-06-16 15:10:38 -05:00
Mo aa71252855 chore(release): continue on error 2022-06-16 14:45:44 -05:00
936 changed files with 40422 additions and 4801 deletions
+6 -1
View File
@@ -3,8 +3,13 @@
.eslintcache
node_modules
dist
packages/web-server/public/assets
packages/web-server/tmp
packages/web-server/vendor/bundles
packages/desktop
packages/mobile
!packages/desktop/package.json
packages/mobile
!packages/mobile/package.json
+6 -5
View File
@@ -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
@@ -40,7 +41,7 @@ jobs:
# 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,15 +0,0 @@
name: Desktop Beta Release
on:
push:
tags:
- '@standardnotes/desktop@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/desktop@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
workflow_dispatch:
jobs:
Build:
uses: standardnotes/app/.github/workflows/desktop.release.reuse.yml@develop
secrets: inherit
with:
channel: beta
+3 -2
View File
@@ -1,9 +1,10 @@
name: Desktop Prod Release
name: Desktop Release
on:
push:
tags:
- '@standardnotes/desktop@!(*alpha*|*beta*)'
- '*standardnotes/*desktop*'
- '!*standardnotes/*inner-desktop*'
workflow_dispatch:
jobs:
+31 -18
View File
@@ -20,19 +20,22 @@ jobs:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- 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:
@@ -51,44 +54,48 @@ jobs:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install FPM
run: sudo gem install fpm -f
- run: yarn install
- 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 +103,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]
@@ -120,13 +127,14 @@ jobs:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- 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]
@@ -147,14 +155,18 @@ jobs:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- 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
@@ -166,12 +178,13 @@ jobs:
token: ${{ secrets.CI_PAT_TOKEN }}
tag_name: "@standardnotes/desktop@${{ steps.package-version.outputs.current-version}}"
prerelease: true
draft: true
name: "Desktop ${{ inputs.channel == 'beta' && 'Beta' || '' }} ${{ steps.package-version.outputs.current-version}}"
draft: false
name: "Desktop ${{ steps.package-version.outputs.current-version }}"
files: packages/desktop/dist/*
- 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
+4 -3
View File
@@ -15,13 +15,14 @@ jobs:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- 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]
@@ -41,7 +42,7 @@ jobs:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- uses: actions/download-artifact@v3
+18 -10
View File
@@ -1,9 +1,9 @@
name: Mobile Build Production
name: Mobile Release Production
on:
push:
tags:
- '@standardnotes/mobile@!(*alpha*|*beta*)'
- '*standardnotes/mobile*'
workflow_dispatch:
jobs:
@@ -42,16 +42,24 @@ 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: Release
uses: softprops/action-gh-release@v1
with:
name: release.aab
path: android/app/build/outputs/bundle/prodRelease/app-prod-release.aab
token: ${{ secrets.CI_PAT_TOKEN }}
tag_name: "@standardnotes/mobile@${{ steps.package-version.outputs.current-version}}"
prerelease: true
draft: false
name: "Mobile ${{ steps.package-version.outputs.current-version }}"
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:
defaults:
run:
@@ -1,10 +1,6 @@
name: Mobile Build Development
name: Mobile TestFlight
on:
push:
tags:
- '@standardnotes/mobile@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/mobile@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
workflow_dispatch:
jobs:
@@ -43,11 +39,22 @@ jobs:
with:
lane: 'android dev'
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: dev.apk
path: android/app/build/outputs/apk/dev/release/app-dev-release.apk
path: packages/mobile
- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.CI_PAT_TOKEN }}
tag_name: "@standardnotes/mobile@${{ steps.package-version.outputs.current-version}}"
prerelease: true
draft: false
name: "Mobile Beta ${{ steps.package-version.outputs.current-version }}"
files: |
packages/mobile/android/app/build/outputs/apk/dev/release/app-dev-release.apk
ios:
defaults:
run:
-73
View File
@@ -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
+6 -6
View File
@@ -3,7 +3,6 @@ name: Components PR
on:
pull_request:
branches:
- develop
- main
paths:
- packages/components/**
@@ -21,13 +20,14 @@ jobs:
run: yarn install
- name: Lint components
run: yarn components:lint
working-directory: packages/components
- name: Compile components
run: yarn components:compile
run: yarn lint
working-directory: packages/components
- name: Build components
run: yarn build:components
- name: Test components
run: yarn components:test
run: yarn test
working-directory: packages/components
- name: Lint all
+2 -2
View File
@@ -3,10 +3,10 @@ name: General PR
on:
pull_request:
branches:
- develop
- main
paths:
- packages/!(components)/**
- '**/**'
- '!packages/components/**'
jobs:
test:
+51
View File
@@ -0,0 +1,51 @@
name: Version Bump Main
on:
push:
branches: [ main ]
jobs:
Build:
if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false }}"
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.CI_PAT_TOKEN }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- 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: Bump Prod Version
run: |
yarn release:prod
yarn publish:prod
- 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
+44
View File
@@ -0,0 +1,44 @@
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'
- 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:
title: "${{ 'chore(deps): upgrade snjs' }}"
commit-message: "${{ 'chore(deps): upgrade snjs' }}"
delete-branch: true
committer: standardci <[email protected]>
author: standardci <[email protected]>
-66
View File
@@ -1,66 +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
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
-78
View File
@@ -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 }}
+4 -3
View File
@@ -1,4 +1,4 @@
name: Web Server Prod
name: Web Server Deploy
concurrency:
group: prod_environment
@@ -7,8 +7,9 @@ concurrency:
on:
push:
tags:
- '@standardnotes/web-server@!(*alpha*)'
- '@standardnotes/web-server@!(*beta*)'
- '*standardnotes/*web-server*'
- '!*standardnotes/*web-server*beta*'
- '!*standardnotes/*web-server*alpha*'
jobs:
test:
@@ -1,14 +1,10 @@
name: Web Server Dev
name: Web Server TestFlight
concurrency:
group: dev_environment
cancel-in-progress: true
on:
push:
tags:
- '@standardnotes/web-server@[0-9]*.[0-9]*.[0-9]*-alpha.[0-9]*'
- '@standardnotes/web-server@[0-9]*.[0-9]*.[0-9]*-beta.[0-9]*'
workflow_dispatch:
jobs:
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More