Commit Graph

74 Commits

Author SHA1 Message Date
Aakansha Doshi a1dcd6d984
build: move release scripts to use release branch (#5958) 2022-12-06 16:33:02 +05:30
Andrew f4312bba5e
fix: Fixing push to DockerHub (#5468)
* fix: Fixing push to DockerHub

* Update .github/workflows/publish-docker.yml

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-07-26 16:13:09 +05:30
Aakansha Doshi ba3a723e99
fix: autorelease job name (#5412) 2022-07-04 22:32:22 +05:30
Aakansha Doshi c5355c08cf
fix: action name for autorelease (#5411) 2022-07-04 22:25:24 +05:30
Aakansha Doshi 6102380051
build: use next and preview tags instead of separate packages for next and preview release (#5346)
* build: use next and preview tags instead of separate packages for next and preview release

* add tag

* dummy diff

* revert dummy tweak

* don't use readme_next

* add note for latest release readme

* Add warning emoji for note

* move note to top

* remove readme next

* fix

* dummy change for release

* remove double note

* Revert "dummy change for release"

This reverts commit d3655cdee4.
2022-07-04 22:19:08 +05:30
Aakansha Doshi 655e59a707
chore: bye bye dependabot :) (#5409) 2022-07-04 20:11:05 +05:30
Aakansha Doshi d34c2a75db
fix: command to trigger release (#5347) 2022-06-22 18:10:57 +05:30
Aakansha Doshi b2d49155ef
build:remove build packages workflow (#4835) 2022-02-22 13:50:25 +05:30
Aakansha Doshi 69336b4832
build: rename release command to 'release package' (#4783) 2022-02-14 17:47:52 +05:30
Aakansha Doshi a60860867c
build: release preview package when triggered via comment (#4750)
* build: autorelease preview on every commit during pull request

* add github workflow

* update readme

* update docs

* log changed files

* remove depth

* fetch pr head

* remove console.log

* log pr number

* pull pr number

* use pull request number in release version

* dummy

* dummy

* dummy

* fix

* dummy

* fix

* Add comment and set output as version

* dummy

* fix

* fix

* set output through js toolkit

* install

* dummy

* update

* fix

* fix

* typo

* update

* condition

* typo

* testing

* wrap conditions

* echo

* hope it works

* test

* test

* yay test again

* test updated

* remove reaction

* run if comment triggered

* fix

* fix

* Update script after testing in fork

* remove

* update changelog

* update readme

* update

* remove

* append pr number then commit hash
2022-02-14 13:54:24 +05:30
David Luzar c3f6d6d344
test: revert node v16 requirement for tests (#4737) 2022-02-07 12:27:31 +01:00
Aakansha Doshi 50bd5fbae1
fix: don't mutate the bounded text if not updated when submitted (#4543)
* fix: don't mutate the bounded text if not updated when submitted

* dont update text for bounded text unless submitted

* add specs

* use node 16

* fix

* Update text when editing and cache prev text

* update prev text when props updated

* remove only

* type properly and remove unnecessary type checks

* cache original text and compare with editor value to fix alignement issue after editing and add specs

* naming tweak

Co-authored-by: dwelle <luzar.david@gmail.com>
2022-01-11 16:36:08 +05:30
Lipis 7b442997dc
chore: Update docker action to v2 (#4198) 2021-11-04 14:10:00 +02:00
Lipis a7abc71f6a
chore: Update dependabot limits (#4145) 2021-11-01 12:03:16 +02:00
Aakansha Doshi 5662c5141d
feat: Auto release @excalidraw/excalidraw-next on every change (#3614)
* feat: Auto release @excalidraw/excalidraw-next on every change

* fix

* fix name

* fix

* add logs

* use commithash

* yarn installå

* fix

* catch

* log

* fix

* uncomment

* remove console

* add logs

* list files changed between prev and current commit

* fetch last two commits

* remove logs

* fix

* update readme_next

* update readme before release

* temp commit to trigger release

* update package name to excalidraw-next

* bold

* remove temp branch

* add note about next

* fix

* fix

* fix
2021-05-22 19:43:28 +05:30
David Luzar 1f295955d0
chore: Add vercel & sentry as sponsors (#3202)
* add vercel & sentry as sponsors

* fix lint

* move images to `.github/assets`

* fix lint

* add Crowdin & change copy
2021-03-14 15:02:36 +01:00
Excalidraw Bot f8c3c431da
chore: Update translations from Crowdin (#3166) 2021-03-05 17:09:40 +02:00
Lipis c0e05445b1
chore: Consistent job names in GH actions (#3099) 2021-02-24 12:12:19 +02:00
Lipis baf9da2b83
chore: Update action versions and docker build (#3065) 2021-02-20 14:28:33 +00:00
Lipis 4bfcf105a5
build: Switch to Yarn (#3057)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-02-20 12:47:17 +00:00
Lipis 0f4a053759
chore: Run actions on pull requests as well (#2917)
* chore: Run actions on pull requests as well

* Update cancel.yml

* Update lint.yml

* Update test.yml

* Update cancel.yml
2021-02-04 13:01:20 +01:00
Lipis ed0bec41dc
chore: Update workflows to use the latest Node (#2863) 2021-01-28 19:20:48 +05:30
Lipis 26acebcdb6
chore: Update translations from Crowdin (#2817) 2021-01-22 18:06:21 +02:00
Lipis fd699c0447
chore: Update translations from Crowdin (#2742)
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
2021-01-14 12:09:05 +02:00
Arun 3a130cb102
chore(actions): Use cancel workflow action (#2763) 2021-01-10 20:09:44 +02:00
Aakansha Doshi 60557df23a
ci(semantic-pr-title.yml): update version to 3.0.0 so that action doesn't run twice (#2741)
* ci(semantic-pr-title.yml): don't run this action twice

* Update semantic-pr-title.yml

Co-authored-by: Lipis <lipiridis@gmail.com>
2021-01-08 20:12:48 +05:30
Arun eb71e571e0
improvement: Perform lossless compression on all PNG images (#2740) 2021-01-07 18:04:28 +02:00
Lipis 14759d5b72
chore: Remove changelog check and graphql (#2639) 2020-12-20 21:52:21 +02:00
Lipis 5d6590c200
ci: Update the coverage report for i18n PRs (#2592)
Co-authored-by: Kostas Bariotis <konmpar@gmail.com>
2020-12-19 22:44:01 +02:00
Lipis d3bebbc68d
ci: Better locale coverage comment (#2616)
Co-authored-by: kbariotis <konmpar@gmail.com>
2020-12-19 20:35:03 +02:00
Kostas Bariotis 4ff8f3b006
add commenting on translations PRs, resolves #2587 (#2615) 2020-12-19 13:52:50 +00:00
Aakansha Doshi abbc756887
ci: Add semantic pr title action (#2610) 2020-12-18 21:32:37 +05:30
Aakansha Doshi 23f21434ff
Fix changelog workflow (#2604)
Fix the workflow to make sure it runs on pull requests against forked branches and also don't run on l10_master and dependabot branches
2020-12-16 20:19:05 +05:30
Lipis 2b434db062
chore: Don't run docker build on PRs (#2601) 2020-12-15 14:24:00 +01:00
Aakansha Doshi bfeb3c7dfd
fix(changelog-check.yml): ignore l10n_master and dependabot branches in changelog workflow (#2594) 2020-12-15 02:25:45 +05:30
Aakansha Doshi 37f53bccbf
Revert the changelog check of excluding the branches (#2590)
* temp commit

* fix

* fix

* Update actionAlign.tsx
2020-12-14 22:41:00 +02:00
Lipis 3b86944365
chore: New Crowdin updates (#2480) 2020-12-14 16:49:01 +02:00
Panayiotis Lipiridis 015a60638e chore: Update user for packages 2020-12-14 03:49:43 +02:00
Lipis 7abb80530f
chore: Add dependabot configuration (#2535) 2020-12-14 03:47:13 +02:00
Aakansha Doshi 59cff0f219
ci: Add github action to make sure changelog for @excalidraw/excalidraw is updated (#2518)
Add guidelines for changelog and group the commits
update the changelog with the latest commits since the last release
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-12-13 18:53:14 +05:30
Guillaume Grossetie 5b63371c14
Fix docker build (#2348)
* .eslintrc.json is required to build using react-scripts

* Remove the extra "deps" step

This step can be done as part of the build (faster and more reliable).

* Add a GitHub Actions to build the Docker image

Make sure that "docker build" is working on every pull request before landing on master.

* Update package-lock.json

* Add .prettierrc in the Docker image to avoid warnings in the build step

* Revert "Update package-lock.json"

This reverts commit 7ef2eaadfa.

* Make sure that the 'node_modules' layer can be cached

if package and package-lock.json didn't changed
2020-11-07 22:22:19 +00:00
Guillaume Grossetie a7da8901d8
Excalidraw export (#2246) 2020-11-02 20:14:20 +01:00
Lipis 471a8b7676
Create codeql-analysis.yml (#2308) 2020-10-29 00:52:49 +02:00
Lipis ead58bf2d9
New Crowdin updates (#1856) 2020-07-07 18:30:58 +03:00
Lipis d39d8e3cb1
New Crowdin updates (#1846) 2020-07-01 19:49:53 +03:00
Lipis 89cf826555
Change target branch of coverage and pretty print (#1850) 2020-07-01 12:05:21 +03:00
Kostas Bariotis 8c3549f336
Add script to calculate percentage of translation (#1826)
* add script to calculate percentage of translation

* test translation change

* change translation

* test

* change translation

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* change translation

* test

* test

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* fix workflow

* test

* test again

* Calculate percentages of each translation file

* Calculate percentages of each translation file

* test

* refactor

* change build logic

* fix types, move English first

* docs added

* test translation file

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* Calculate percentages of each translation file

* let this be the final test please

* Calculate percentages of each translation file

* test

* test

* Test

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* test

* Calculate percentages of each translation file

* test

* Auto commit: Calculate translation coverage

* test

* test

* test

* test

* Auto commit: Calculate translation coverage

* test

* only on master

* test

* test

* Auto commit: Calculate translation coverage

* switch to master branch

Co-authored-by: i18n automation <runner@fv-az76.2iswp1o5zimezclxzdlwqia2gf.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az129.idlktykl4ure3gqe2lnji05orb.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az76.pjgcdo5npjpenpqz2nk0ztqvxd.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az33.senarqq4ucbulg04aytwntvgah.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az51.icvemaqob4xunfekbtdiz2tu2c.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az78.gikxu4m3dpiulftj3bftpuu3ee.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az121.cqdewbghluceforu5pkvpnveec.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az139.jsbds1i2htye3fh1bzwbe4ugmf.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az50.0bg2cysi0dkefjvuua0a0kbd1h.cx.internal.cloudapp.net>
Co-authored-by: i18n automation <runner@fv-az51.nhi3in4tbx4ehjtltcwuwbwsua.cx.internal.cloudapp.net>
2020-06-30 19:28:19 +01:00
Kostas Bariotis f1ceeab8d9
Prepare for Docker publishing (#1771)
* prepare for docker publishing

* fix links

* remove that

* update README

* test publish worklofw

* build and push on master

* include gtag by default
2020-06-18 10:46:24 +01:00
Kostas Bariotis 1f375522d6
rename docker repo (#1702) 2020-06-02 20:26:16 +01:00
Guillaume Briday 5ed4614a8c
Adding publish-docker workflow (#1654) 2020-06-02 20:22:40 +01:00