0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
Commit graph

299 commits

Author SHA1 Message Date
Gao Sun
2543d497f7
ci: fix workflows (#2759) 2022-12-29 07:25:12 +00:00
Gao Sun
fd71570faa
ci: update release workflows (#2754) 2022-12-29 14:52:43 +08:00
Charles Zhao
121df6d26d
test: add ui test cases for ac sign-in and svg rendering 2022-12-23 12:03:03 +08:00
Gao Sun
fb47a19eea
ci: fix codecov master workflow (#2662) 2022-12-14 08:56:20 +08:00
Gao Sun
03068b19f6
ci: update deploy dev workflow 2022-12-14 01:07:44 +08:00
Gao Sun
a805124437
refactor: misc. issue fix 2022-12-12 21:53:39 +08:00
Gao Sun
25f0a2e158
test: use native ESM (#2621) 2022-12-12 13:43:23 +08:00
Darcy Ye
dd2a33f921
chore: add IT for switching passwordless connector (#2591) 2022-12-06 17:04:57 +08:00
Gao Sun
98e99c4cc0
Merge pull request #2461 from logto-io/patch/gao-fix-alteration-scripts
fix: alteration scripts
2022-11-16 19:23:23 +08:00
Gao Sun
df9fc569a9
ci: allow workflow_dispatch to trigger release 2022-11-16 18:49:21 +08:00
Gao Sun
2d45cc3e6e
fix: run version script when after changeset version 2022-11-16 18:11:52 +08:00
Gao Sun
92cb1c5bd8
ci: fetch all tags for release workflow (#2447) 2022-11-16 15:35:53 +08:00
Gao Sun
2303a787ef
ci: set bot token for release workflow (#2441) 2022-11-15 05:24:30 +00:00
Gao Sun
f659457d1d
ci: add npm token (#2440) 2022-11-15 12:53:28 +08:00
Gao Sun
19bce4d7e1
chore: fix typo 2022-11-11 20:17:50 +08:00
Gao Sun
7e0b4fc01c
chore: add semver tag for core package 2022-11-11 14:29:35 +08:00
Gao Sun
b497aa8ad6
refactor: move scripts to .scripts/ 2022-11-11 12:58:33 +08:00
Gao Sun
3a0df40fc1
chore: manually install Chromium before integration test 2022-11-07 23:11:21 +08:00
Gao Sun
cbf75359c8
chore: enable Node 18 2022-11-07 21:25:34 +08:00
renovate[bot]
8e45325e98
chore(deps): update dependency puppeteer to v19 (#2164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-11-04 04:19:20 +00:00
Gao Sun
0f068d372c
chore: upgrade lint runners (#2274) 2022-10-29 00:06:23 +08:00
Gao Sun
ef4f6a5ad5
ci: update changeset (#2236) 2022-10-24 04:03:00 +00:00
Gao Sun
19666e0401
chore: introduce changesets (#2215) 2022-10-21 13:59:08 +08:00
Gao Sun
79c6c1de93
refactor: require database name in URL (#2198) 2022-10-19 07:38:56 +00:00
Gao Sun
261c9153b0
ci: add docker build to main workflow (#2184) 2022-10-19 11:35:39 +08:00
Gao Sun
fec04803de
ci: fix publish script (#2173) 2022-10-17 22:14:26 +08:00
Gao Sun
0c4fd3c7be
chore: remove lerna (#2170) 2022-10-17 19:37:59 +08:00
Gao Sun
e18800c49b
ci: upgrade node pnpm run steps (#2168) 2022-10-17 04:07:50 +00:00
Gao Sun
c96495ad4e
chore!: update scripts 2022-10-16 00:49:16 +08:00
Gao Sun
94fc68a889
ci: fix workflow env (#2154) 2022-10-13 22:08:59 +08:00
Gao Sun
898eec2af3
ci: set environment for release workflow 2022-10-13 11:32:48 +08:00
Gao Sun
e5e0c42104
chore: fix integration test 2022-10-08 19:30:06 +08:00
Gao Sun
3e24e3b404
refactor: fix integration test 2022-10-08 17:12:19 +08:00
Gao Sun
44d9177161
chore: fix typo in release workflow (#2041) 2022-10-01 23:41:14 +08:00
Gao Sun
e254339e8e
chore: test deployment (#2040)
chore: update dev deployment
2022-10-01 14:44:29 +00:00
Gao Sun
7b60b3028d
chore: sleep 10s before dev health check (#2014) 2022-09-27 15:01:26 +08:00
renovate[bot]
37a3d4190e
chore(deps): update actions/stale action to v6 (#1975)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-22 13:04:04 +08:00
Gao Sun
cd8c4f17d9
chore: exempt announcement issues from stale (#1962) 2022-09-19 17:20:04 +08:00
Gao Sun
ddff43d8b6
chore: update integration test workflow (#1897) 2022-09-07 15:10:35 +00:00
Wang Sijie
6a57dec6c8
ci: add official connectors for dev server (#1882) 2022-09-05 18:17:43 +08:00
Wang Sijie
52b9dd8569
feat(core)!: load connectors by folder (#1879) 2022-09-05 17:49:11 +08:00
renovate[bot]
fc6a70d739
chore(deps): update silverhand-io/actions-add-labels-run-steps action to v1.2.1 (#1875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 16:17:08 +08:00
renovate[bot]
ca1d22e6d5
chore(deps): update silverhand-io/actions-add-labels-run-steps action to v1.2.0 (#1863)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 23:23:01 +08:00
Gao Sun
fa5a775205
chore: fix postgres setup in integration test (#1846) 2022-09-01 13:54:40 +08:00
Gao Sun
940eb9b160
chore: update publish workflow (#1836) 2022-08-30 10:29:17 +08:00
Gao Sun
84c0d8f845
refactor(core): replace argon2 with hash-wasm (#1794) 2022-08-19 13:47:24 +08:00
Gao Sun
8bdc46bc3f
ci: fix pr assignee (#1785) 2022-08-15 10:25:35 +00:00
Gao Sun
5447a7c5fe
chore: fix and dedup workflow runs (#1774)
* chore: fix and dedup workflow runs

* chore: dedup workflow runs
2022-08-14 22:19:34 +08:00
Gao Sun
65d579f50d
chore: fix workflow (#1772) 2022-08-12 15:29:19 +00:00
Gao Sun
6a2e604926
test(ui): init smoke testing (#1771)
* test(ui): init smoke testing

* fix(test): logto url env key
2022-08-12 18:07:16 +08:00
Gao Sun
3c95f20883
chore: publish to DockerHub (#1765)
* chore: publish to DockerHub

* chore: remove testing code
2022-08-11 12:58:53 +00:00
IceHe.Life
ba50de5d66
refactor(test): inline link-mock-connectors.sh (#1746)
* refactor(test): inline link-mock-connectors.sh

* refactor(test): use lerna add instead of pnpm link

* refactor(connector): align folder name with package name for connector-mock-email
2022-08-09 11:23:05 +08:00
IceHe.Life
ff151b2010
refactor(test): refactor integration-test workflow to link mock connectors (#1720)
* refactor(test): another way to link mock connectors in integration tests

* refactor(test): extract link-mock-connectors.sh

* refactor(test): remove unused env variable in integration-test.yml
2022-08-02 18:10:01 +08:00
simeng-li
054899fb90
test: add mock social connector (#1710)
* chore(test): add mock social connector package

add mock social connector package

* fix(test): cr update

cr udpate
2022-08-01 07:09:51 +00:00
Gao Sun
ea27f7d69a
chore: align stale time (#1713) 2022-08-01 05:49:38 +00:00
IceHe.life
f7bc349e03
test: add connector-mock-sms and connector-mock-email for integration tests (#1668) 2022-07-26 08:12:34 +00:00
Gao Sun
bde0954fac
ci: trigger CodeQL workflow on publish (#1673) 2022-07-26 00:25:40 +08:00
Gao Sun
fa92f4960d
ci: update exempt labels (#1665) 2022-07-25 15:25:23 +08:00
Gao Sun
b1e1407b87
ci: use macOS for annotations (#1655)
* ci: use macOS for annotations

* ci: remove concurrency

* ci: use macOS for lint
2022-07-22 06:18:05 +00:00
Gao Sun
49d6ee1c76
ci: use zap full scan (#1632) 2022-07-21 14:39:53 +08:00
Gao Sun
c7afc45149
ci: refine add assignees trigger (#1629) 2022-07-20 22:52:37 +08:00
Gao Sun
041bd13c28
ci: update workflow permission (#1623) 2022-07-20 17:29:07 +08:00
Xiao Yijun
708523ed52
feat(core): support integration test env config (#1619) 2022-07-20 14:21:13 +08:00
Gao Sun
b608045e77
chore: create close-stale.yml (#1613)
* chore: add close-stable.yml

* chore: fix typo
2022-07-20 04:41:56 +00:00
renovate[bot]
8df08d9671
chore(deps): update silverhand-io/actions-node-pnpm-run-steps action to v1.2.3 (#1608)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 06:42:42 +08:00
Gao Sun
8503050379
ci: use full repo for integration tests (#1605)
* ci: use full repo for integration tests

* ci: fix error
2022-07-19 22:02:08 +08:00
Xiao Yijun
53ab064502
ci: set integration test env to integration-test (#1601) 2022-07-19 19:33:08 +08:00
Gao Sun
40ae99b030
ci: remove issues trigger (#1589) 2022-07-18 10:26:29 +00:00
Gao Sun
7ef20d8b08
ci: fix pen tests docker tag (#1565) 2022-07-16 11:41:29 +00:00
Gao Sun
4d47d04674
ci: add pen tests (#1563) 2022-07-16 19:29:19 +08:00
Gao Sun
c9286dcda2
chore: create codeql-analysis.yml (#1560)
* chore: create codeql-analysis.yml

* refactor: ignore test files

* refactor(connector): fix alerts
2022-07-15 22:12:44 +08:00
Gao Sun
4d37523c95
ci: fix prerelease tag (#1380) 2022-07-03 08:56:42 +00:00
Gao Sun
a9743b58b1
ci: fix prerelease tag (#1377) 2022-07-03 15:52:05 +08:00
Gao Sun
4301963fdd
ci: add prelease tag on docker images (#1375) 2022-07-03 06:13:27 +00:00
Gao Sun
5d35531cba
ci: add changelog to release (#1372) 2022-07-03 12:07:00 +08:00
Gao Sun
c7776eb0fa
ci: fix test tag (#1368) 2022-07-02 17:00:14 +08:00
Gao Sun
3e96642c28
ci: fix package script and fail fast 2022-07-02 12:40:22 +08:00
Gao Sun
299f5b725b
ci: fix release tag for docker compose testing 2022-07-02 12:18:55 +08:00
Gao Sun
159704d0ec
ci: update publish workflow (#1361) 2022-07-02 04:08:19 +00:00
Gao Sun
8487c0f98e
ci: run commitlint on pull request only 2022-07-02 03:15:04 +08:00
Gao Sun
03390a5f26
ci: trigger workflows on push to push-action/** 2022-07-02 01:30:01 +08:00
Gao Sun
8e2eda876d
ci: update publish workflow (#1359)
* ci: update publish workflow

* ci: update publish.yml
2022-07-01 15:17:05 +00:00
Gao Sun
30218579cc
ci: update publish workflow (#1358)
* chore: set lerna changelogPreset

* fix: version script

* ci: update publish workflow
2022-07-01 22:39:21 +08:00
Gao Sun
f6977157a6
ci: fix concurrency issue (#1356) 2022-07-01 21:33:25 +08:00
Gao Sun
581a1c750a
ci: fix dockerize (#1355) 2022-07-01 13:02:53 +00:00
Gao Sun
e4ff8d8b74
ci: update workflow trigger (#1354) 2022-07-01 20:33:08 +08:00
Gao Sun
d456f5c9a2
ci: publish workflow (#1342) 2022-07-01 18:47:14 +08:00
Gao Sun
f8384af26a
ci: clean up old untagged images (#1305) 2022-06-29 20:36:51 +08:00
Gao Sun
9ad2881153
ci: change workflows trigger (#1257) 2022-06-27 16:38:39 +08:00
Gao Sun
c62200c6f4
ci: upload image to ghcr (#1228) 2022-06-24 15:39:17 +08:00
Gao Sun
89e3d68168
ci: dockerize (#1190)
* ci: dockerize

* ci: fix docker compose

* ci: run dockerize on master push only

* refactor: add .gitignore to .dockerignore
2022-06-23 11:17:02 +00:00
Gao Sun
c47d8a2888
ci: optimize workflows (#1205) 2022-06-22 18:55:58 +08:00
simeng-li
67613aec7a
fix(worklow): add master codecov report job (#1189)
* fix(worklow): add master codecov report job

add master codecov report job

* fix(ci): cr fix

cr fix
2022-06-22 02:19:00 +00:00
simeng-li
d2bf19b12d
fix(ui): add missing ui codecov job (#1183)
add missing ui code cov job
2022-06-22 10:11:54 +08:00
Gao Sun
4df749e142
refactor(ci): add concurrency (#1123)
* refactor(ci): add concurrency

* fix(ci): concurrency group
2022-06-17 15:58:29 +00:00
Gao Sun
36dda2bdbb
chore(ci): update action org name (#1091) 2022-06-09 15:41:06 +00:00
Gao Sun
71d4b25cd3
ci: separate main workflow jobs (#918)
* ci: separate main and lint

* ci: separate build and test

* ci: prepack before lint
2022-05-22 16:12:29 +08:00
renovate[bot]
e86ce3ce7f
chore(deps): update logto-io/actions-node-pnpm-run-steps action to v1.2.2 (#908)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 02:49:53 +00:00
Gao Sun
646bd36758
chore: add ci:* scripts (#870) 2022-05-18 10:58:01 +08:00
renovate[bot]
33baaa8c36
chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 (#797)
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0

* chore(deps): upgrade stylelint to v14

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gao Sun <gao@silverhand.io>
2022-05-17 13:20:17 +00:00
Gao Sun
3031e3a6f1
test: setup integration test package (#853) 2022-05-17 08:59:57 +00:00
Gao Sun
2b3061d06d
ci: add collapse for file diff (#788)
* ci: add collapse for file diff

* ci: update comment
2022-05-10 20:34:18 +08:00
Gao Sun
1a664beeee
ci: init integration test (#771)
* ci: init integration test

* ci: complete integration test setup

* ci: remove pull request trigger
2022-05-10 15:29:53 +08:00
Gao Sun
4cace12f00
ci: fix file size diff comment display (#784) 2022-05-10 04:26:01 +00:00
Gao Sun
475cb52d8e
ci: show size diff per file (#782)
* ci: show size diff per file

* ci: fix nit
2022-05-10 12:05:58 +08:00
Gao Sun
90b7e1b073
ci: add pr size diff check (#777)
* ci: add pr size diff check

* ci: comment with user friendly message
2022-05-10 00:08:05 +08:00
renovate[bot]
d78bbfe82c
chore(deps): update logto-io/actions-node-pnpm-run-steps action to v1.2.1 (#725)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 09:42:44 +00:00
Gao Sun
4e7dfe2bec
fix(ci): use local commitlint (#723)
* fix(ci): use local commitlint

* fix: update commitlint.yml
2022-05-05 17:00:40 +08:00
Gao Sun
b011cd8a08
ci: update deploy dev (#714) 2022-04-29 21:22:15 +08:00
renovate[bot]
23e3cb7ac2
chore(deps): update codecov/codecov-action action to v3 (#622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:40:07 +00:00
renovate[bot]
4173b49dff
chore(deps): update actions/upload-artifact action to v3 (#620)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:13:31 +00:00
renovate[bot]
f7961248e9
chore(deps): update actions/checkout action to v3 (#619)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 09:13:21 +00:00
renovate[bot]
b582eaa20e
chore(deps): update logto-io/actions-node-pnpm-run-steps action to v1.1.0 (#614)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 07:56:31 +00:00
Gao Sun
b527cb6a83
ci: trigger main workflow on all pull requests (#592)
* ci: trigger main workflow on all pull requests

* fix: ci
2022-04-20 15:54:16 +08:00
Gao Sun
5a88f45c42
ci: update workflow (#553) 2022-04-15 13:56:07 +08:00
Xiao Yijun
c77bcc172b
ci: add assignees (#547) 2022-04-13 07:46:57 +00:00
Gao Sun
4a904f2953
ci: upload eslint annotations (#490)
* ci: upload eslint annotations

* ci: update `upload-annotations.yml`
2022-04-06 06:06:34 +00:00
simeng-li
b03a666fde
ci(core): add codecov github action (#297)
* ci(core): add codecov github action

add codecov github action

* ci(core): update codecov uploader

update codecov uoloader

* ci(core): delete useless codecov yml

delete codecov yml

* chore(core): remove deprecated packages

remove deprecated pacakages
2022-03-01 11:05:25 +08:00
Gao Sun
5ce8c18652
feat(console): init (#239)
* feat(console): init

* refactor: remove unused tsconfig props

* fix: lint error
2022-02-16 15:04:34 +08:00
simeng-li
aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00
Gao Sun
8295d79974
ci: use concurrency for deploy (#115) 2021-09-08 16:04:46 +08:00
Gao Sun
ec020e6bea
chore: improved lifecycle scripts and workflow (#112)
* chore: improved lifecycle scripts and workflow

* chore: run main flow regardless of path

* chore: fix workflow
2021-09-08 10:29:37 +08:00
Gao Sun
af942d2027
feat(core): add status api and health check after deployment (#110) 2021-09-06 10:40:06 +08:00
Gao Sun
d9cbab0355
ci: fixing conflict (#97) 2021-08-28 22:24:15 +08:00
Gao Sun
1352cce911
test(core): add unit tests for database utils (#95)
* test(core): add unit tests for database utils

* test(core): add tests for `conditionalSql()`
2021-08-28 21:48:06 +08:00
Gao Sun
9546aee496
ci: use add labels run steps (#96) 2021-08-28 17:50:26 +08:00
Gao Sun
04fea24e5b
fix(ci): quote PR title for commitlint 2021-08-25 23:44:35 +08:00
Gao Sun
27ec6fcb00
ci: run commitlint on PR title (#88) 2021-08-25 23:36:11 +08:00
Gao Sun
6280ca282d
fix: add labels workflow trigger (#89) 2021-08-25 23:35:35 +08:00
Gao Sun
58b8ac3957
refactor: use composite run steps and remove eslint formatter 2021-08-20 18:16:00 +08:00
Gao Sun
cd57fe8866
feat(core): setup jest 2021-08-20 14:53:23 +08:00
Gao Sun
dbb96a7892
chore: refine workflow trigger 2021-08-10 23:19:34 +08:00
Gao Sun
ea848863b6
chore: add environment in deploy-dev workflow 2021-08-10 17:17:47 +08:00
Gao Sun
0f4354b5f2
chore: add labels according to title 2021-08-10 15:08:26 +08:00
Gao Sun
853220c1ab
chore: add commitlint workflow 2021-08-03 00:18:22 +08:00
Gao Sun
de41b6b082
chore: cancel previous dev deploy 2021-07-31 16:30:21 +08:00
Gao Sun
a784cbc575
chore: remove pull request trigger 2021-07-31 00:50:23 +08:00
Gao Sun
22e111ea0a
chore: add rsync step 2021-07-31 00:24:32 +08:00
Gao Sun
31b6c696d2
chore: add prune step 2021-07-30 22:54:48 +08:00
Gao Sun
a87ea72980
chore: add deploy dev workflow 2021-07-30 22:34:15 +08:00
Gao Sun
45828ad6c5
chore(ui): enable jest testing 2021-07-30 03:42:39 +08:00
Gao Sun
2dfc060d5d
fix: correct github workflows 2021-07-29 17:54:43 +08:00
Gao Sun
4eb8d93d56
chore: yarn -> pnpm 2021-07-29 17:46:28 +08:00
Gao Sun
590dd7d858
feat(phrases): add package and refactor error code 2021-07-28 01:13:51 +08:00
Gao Sun
46bca952e8
fix: run prepack after yarn 2021-07-26 21:40:49 +08:00
Gao Sun
c4abb0cf03
chore: add workflow for core 2021-07-26 01:35:39 +08:00
Gao Sun
07a993cd1d
chore: setup schemas workflow 2021-07-26 01:33:22 +08:00
Gao Sun
cac90d98d8
chore: fix workflow condition 2021-07-26 01:11:38 +08:00
Gao Sun
f8ae9f8f3a
chore: migrate ui workflow 2021-07-26 01:03:54 +08:00