Commit Graph

49 Commits

Author SHA1 Message Date
DevMirza c919d2c990
fix(ci): Prevent ARM runner from running in Forks (#4803) 2024-05-30 14:46:04 +08:00
Chongyi Zheng 88187b66eb
Drop Node.js 14 and 16 (#3747)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2024-03-28 07:30:33 +08:00
DevMirza 45690a25a0
fix(ci): Fix for the Actions failing on Windows Runner (#4557) 2024-03-20 22:20:40 +08:00
Louis Lam 996ff28ed9
Playwright + Native Node Test Runner (#3893) 2023-12-17 19:02:22 +08:00
Louis Lam 719ef856e8 Merge manually 2023-12-11 02:36:08 +08:00
Louis Lam 869ee8ec50 Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	.github/workflows/auto-test.yml
#	extra/reset-password.js
#	package-lock.json
#	package.json
#	server/routers/status-page-router.js
#	server/server.js
#	server/socket-handlers/general-socket-handler.js
#	server/uptime-kuma-server.js
#	src/components/ActionInput.vue
#	src/util.js
#	src/util.ts
2023-12-11 02:13:47 +08:00
Adam Stachowicz 74a908a069
Max ESLint warnings 0 (#4158)
* Fix ESLint warnings. Update workflows. 0 ESLint warnings for auto-test

* json-yaml-validate: Fix `unable to find version `v2``
2023-12-04 18:19:18 +08:00
Louis Lam 852b3fa61b Merge branch '1.23.X'
# Conflicts:
#	package-lock.json
#	server/database.js
#	server/server.js
#	server/util-server.js
2023-10-09 21:28:01 +08:00
Louis Lam 476deb9fec Pin npm@9 2023-10-09 07:33:52 +08:00
Louis Lam a36f2a75ca Enable auto-test for 1.23.X branch 2023-10-09 07:23:30 +08:00
DevMirza 82bad6deaa
🐛 fix: AutoTest workflow (#3725) 2023-09-10 18:33:55 +08:00
Louis Lam faf8b5e7ce
Fix prevent-file-change (#3722) 2023-09-09 19:45:11 +08:00
Louis Lam fd680feb97
Prevent to modify lang files (#3720) 2023-09-09 19:25:09 +08:00
Louis Lam a8bc0f8d6a
Fix auto test (#3702) 2023-09-06 21:34:43 +08:00
Louis Lam 64b97c0f29
Lock to npm@9 (#3670) 2023-09-01 17:30:09 +08:00
Louis Lam 31c00081fa Merge branch 'master' into 2.0.X 2023-08-16 16:14:04 +08:00
Nelson Chan fe431d6385
Chore: Run test on PR to v2 branch (#3582) 2023-08-16 16:05:52 +08:00
Louis Lam ce0289855d
Remove hard-coded node versions as upstream fixed (#3576) 2023-08-15 17:13:35 +08:00
Louis Lam d33b4f46e4 Disable e2e test temporarily and update some docs 2023-08-11 22:17:31 +08:00
Matthew Nickson 8a92054c2b
Added JSDoc to ESLint (#3529)
* Added JSDoc to eslint rules

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>

* Fixed JSDoc eslint errors

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>

* Update the check-linters workflow to Node.js 20

---------

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-08-11 15:46:41 +08:00
Louis Lam 59245e624d
Update workflow's Node.js version to 20 (#3503) 2023-07-30 19:02:36 +08:00
Louis Lam 19873e5b9e
Remove npm cache from the auto test workflow (#3359) 2023-07-05 21:03:02 +08:00
Louis Lam c583037dff
Fix auto test for armv7 2023-07-04 23:13:08 +08:00
Louis Lam eaee55fc8f
Add arm runners to this repo (#3326) 2023-06-28 21:04:38 +08:00
Louis Lam dfe6f52f6a Add test for Node.js 20, drop 19 2023-05-02 16:17:37 +08:00
Adam Stachowicz e0f0178644 Do not run auto-test for markdown-only commits. Update versions 2023-02-03 07:10:10 +01:00
Louis Lam cc4ed308b0
Merge pull request #2581 from twiggotronix/add-frontend-unit-tests
Add frontend unit tests
2023-01-11 13:36:20 +08:00
David Twigger 636fc8fcfc Fix workflow 2023-01-10 08:43:39 +01:00
David Twigger 1c05ba09dc Add cypress unit tests to workflow 2023-01-10 08:24:15 +01:00
Louis Lam 24d1dd4c34 [auto-test] Drop Node.js 17, add 19 2023-01-09 20:24:20 +08:00
tamasmagyar 986c03aecd test cypress run 2022-07-18 20:51:17 +02:00
Adam Stachowicz 5c852db1cf Fix actions/setup-node task name
Addendum to 000cbeb0ce
2022-05-02 01:23:05 +02:00
Louis Lam 000cbeb0ce Lower check-linters node version to 14, add Node.js 18, set timeout 15mins for each job 2022-05-01 18:25:52 +08:00
Louis Lam 63c8d24d6f As legacy-peer-deps is specified in .npmrc, `install-legacy` and `update-legacy` are not actually needed. 2022-05-01 12:32:06 +08:00
Louis Lam 254a6bfd36 [CI] Run check linters first 2022-05-01 12:23:28 +08:00
Adam Stachowicz 3019d5dd64 Shorter node matrix 2022-04-26 02:03:47 +02:00
Adam Stachowicz dcdbb7be8b Use separate job for linters 2022-04-26 01:57:49 +02:00
Juan Calderon-Perez 2197b98444
Upgrade to actions/checkout@v3 2022-04-23 09:47:57 -04:00
Louis Lam 2642e70fc8 Fix auto test failed due to autocrlf 2022-04-14 01:20:54 +08:00
Louis Lam 7c63cbfd84 add node.js 17 to auto test 2021-10-24 22:50:33 +08:00
Louis Lam c589bd836d
[test] change to npm install for pull requests 2021-10-08 22:39:35 +08:00
LouisLam a1c2a1bc52 [test] auto test for node lts only 2021-10-08 15:34:19 +08:00
LouisLam deec15c09e [test] better job name 2021-10-07 20:14:24 +08:00
LouisLam 3423cb5d8e [test] try to auto test Windows and MacOS 2021-10-07 20:05:12 +08:00
LouisLam 20af179a82 [test] try to auto test Windows and MacOS 2021-10-07 20:01:33 +08:00
LouisLam c1501742f5 test github secret 2021-10-05 21:15:30 +08:00
LouisLam b7ae49c644 update github action 2021-10-05 20:42:15 +08:00
Louis Lam f0670dde20
Update auto-test.yml 2021-10-05 20:33:47 +08:00
Louis Lam 73068763c0
Create auto-test.yml 2021-10-05 20:32:48 +08:00