Commit Graph
87 Commits
Author SHA1 Message Date
DIYgod 19d78c9d30 Merge commit from fork 2024-09-06 20:01:53 +08:00
Franklin Yu d99b18bd8c ci(test): enable the GitHub Actions reporter for Vitest (#15857)
* feat(ci): publish the JUnit report for human

* Grant permission to write check-results

* Use the GitHub action reporter from vitest
2024-06-21 21:47:05 +08:00
Franklin Yu 0da7f3df65 ci(test): upload assets as GitHub CI artifacts (#15799) 2024-06-03 22:26:25 +08:00
dependabot[bot] 04dbe21653 chore(deps): bump pnpm/action-setup from 3 to 4 (#15511)
* chore(deps): bump pnpm/action-setup from 3 to 4

Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 3 to 4.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v3...v4)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: remove version in pnpm/action-setup since it also reads from package.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08 21:59:21 +08:00
Henry Wang 2ccd6446af chore: bump pnpm lockfile (#15501)
* chore: bump pnpm lockfile

* chore: update Dockerfile pnpm version

* chore: add packageManager version

* chore: bump CI pnpm version

* Revert "chore: update Dockerfile pnpm version"

This reverts commit 6178d92e39b0166e3272e1598101f9c6abc49b24.

* fix: revert Dockerfile auto-format

---------
2024-05-08 00:53:52 +08:00
Tony d6cf505d6f chore: impersonate dependabot on commit 2024-05-04 13:54:25 +08:00
Tony 0615d26ab1 chore: fix depedabot upgrade 2024-05-04 00:23:02 +08:00
Tony 406576e1a9 chore: run Test on latest node 2024-05-01 08:11:07 +08:00
Rongrong c5c080ba37 build(Dockerfile): set CHROMIUM_EXECUTABLE_PATH to absolute path (#15322)
* build(Dockerfile): set CHROMIUM_EXECUTABLE_PATH to absolute path

Signed-off-by: Rongrong <i@rong.moe>

* ci(test): set CHROMIUM_EXECUTABLE_PATH to absolute path

Signed-off-by: Rongrong <i@rong.moe>

---------

Signed-off-by: Rongrong <i@rong.moe>
2024-04-22 21:15:31 +08:00
DIYgod b774c60858 test: add full routes test (#14934)
* test: add critical routes test

* fix: youtube channels config

* test: add full routes test

* test: output full routes test result

* test: build routes before test

* test: use one reporter

* test: fix cache test errors

* test: fix cache test errors

* chore: puppeteerrc.cjs

* chore: puppeteerrc.cjs

* chore: puppeteerrc.cjs

* fix: build script

* chore: puppeteerrc rename

* test: route test names

* chore: pass test result to docs
2024-03-24 19:00:03 +08:00
DIYgod 2d94173e49 chore: disable test on node 18 2024-03-09 20:33:32 +08:00
DIYgod 8f4c50e22e chore: update outdated chore files 2024-03-09 20:30:59 +08:00
DIYgod 4990986b14 chore: fix test actions 2024-03-09 19:18:11 +08:00
DIYgod 93fc0608f7 feat: remove docs test and push assets 2024-03-09 18:48:10 +08:00
DIYgod 6902129eb0 feat: new build script 2024-03-08 23:31:50 +08:00
DIYgod 38e42156a0 feat: replace jest with vitest 2024-03-03 18:57:07 +08:00
DIYgod 3ffac16495 chore: fix workflow trigger 2024-02-21 20:40:20 +08:00
DIYgod bdb078c27d feat: remove lib/radar-rules.js 2024-02-21 20:32:09 +08:00
DIYgod ad7292230b feat: remove lib/radar.js 2024-02-21 20:19:27 +08:00
DIYgod 8aab51ade3 feat: remove lib/maintainer.js 2024-02-21 20:16:58 +08:00
dependabot[bot] 372fe8a919 chore(deps): bump pnpm/action-setup from 2 to 3 (#14432)
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 2 to 3.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v2...v3)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 00:39:36 +00:00
dependabot[bot] ad824ac91e chore(deps): bump codecov/codecov-action from 3 to 4 (#14358)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 06:28:00 +08:00
Tony 78d9027c2f chore: bump to node 20 (#13801) 2023-11-15 21:33:21 +08:00
dependabot[bot] e7c371d098 chore(deps): bump actions/setup-node from 3 to 4 (#13621)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

[skip ci]
---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 01:23:12 +00:00
Tony 475372751f chore: revise github actions (#13612)
* chore: rename actions

* chore: fix path maintainer build

* feat: prepare script for node20

* chore: fix semgrep cant access secret
2023-10-23 03:44:46 +08:00
TonyRL 8a3d9adc76 revert: "chore(deps): bump codecov/codecov-action from 3 to 4 (#13301)"
This reverts commit c5b96621aa.
Refs: https://github.com/codecov/codecov-action/issues/1089
2023-09-15 12:02:52 +00:00
dependabot[bot] c5b96621aa chore(deps): bump codecov/codecov-action from 3 to 4 (#13301)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 09:38:34 +08:00
dependabot[bot] 5dc8d67a40 chore(deps): bump actions/checkout from 3 to 4 (#13214)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 07:39:41 +08:00
TonyRL f1d1b49253 chore: remove foresight
Foresight is no longer in service
https://github.com/runforesight
2023-09-03 13:09:56 +00:00
Tony 7daa88abb4 docs: i18nable component (#13084) 2023-08-20 19:58:53 +01:00
Tony d1eaccabcb docs: redirect old docs urls (#13060)
* docs: redirect old docs urls

* fix: fix start en docs script
2023-08-17 08:33:40 +08:00
DIYgod 7b65ba69bb feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
TonyRL c98cbf8ce9 chore: try fix arm64 build 2023-08-14 14:30:28 +00:00
Tony 79eae1eb45 refactor: replace re2 with re2-wasm (#12998)
* refactor: replace re2 with re2-wasm

* refactor: remove migrated routes

* ci: remove foresight

https://github.com/runforesight
Foresight is no longer in service

* fix: add back removed wasm

chore: bump base OS image
2023-08-12 00:34:28 +08:00
DIYgod 541cae4397 test: fix empty request error and remove node 16 support 2023-07-23 21:41:12 +01:00
Tony 8c1e4be962 chore: fix on demand test pptr not found (#12660)
* chore: fix on demand test pptr not found

* chore: add node 20 to ci env
2023-06-12 21:24:39 +08:00
Tony a0ea328013 build: fix pnpm pptr postinstall (#12450)
* chore: fix chrome not found in jest

* chore: explicitly require deps for stealth plugin
2023-05-05 23:58:29 +08:00
Tony 1de1e9ae56 build: use pnpm (#12438)
* build: use pnpm

* fix: use corepack pnpm

* chore: use pnpm in gha

* chore: add setup pnpm

* fix: install command

* fix: pnpm lock file not updated

* chore: pnpm no recursive install

* docs: use pnpm

* fix: ignore yarn lock

* chore: update command for cloud dev env
2023-05-05 20:09:54 +08:00
Tony b0ff4a0fee docs: split docs package for vuepress (#12382)
* docs: split docs package for vuepress

* fix: yarn lock changes gha

* fix: remove npm script at top level

* docs: update oneclick link

refs: https://github.blog/changelog/2023-04-24-one-click-into-github-codespaces
2023-04-25 22:20:56 +08:00
DIYgod b1d445649c chore: discontinue support for node v14 2023-03-19 21:22:02 +00:00
TonyRL c09ee60498 chore: ignore another ESM-only package 2023-03-02 12:43:32 +00:00
TonyRL 7113d82892 chore: actions timeout
[skip ci]
2023-02-09 16:12:41 +00:00
TonyRL 4c51a2b6c9 chore: skip stealth test in github actions
ref: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
2023-01-22 21:08:59 +00:00
DIYgod 9ce117dd9f chore: skip stealth test in github actions 2023-01-22 17:54:53 +00:00
Rongrong 058cec21b7 test(puppeteer): wait for bot test result (#11322)
Signed-off-by: Rongrong <i@rong.moe>

Signed-off-by: Rongrong <i@rong.moe>
2022-11-23 22:32:15 +00:00
Yusuf Erdem 347de8b39c chore: foresight coverage configuration (#11105)
* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml
2022-10-31 20:53:25 +08:00
DIYgod b4d8c4454d chore: foresight coverage format 2022-10-15 22:18:06 +01:00
DIYgod 4577c8f664 chore: foresight test path 2022-10-14 19:00:01 +01:00
Tony 4fef0bbd3d chore: use node 18 (#11093)
* chore: use node 18

npm pushlish will still use node 16

* fix: openssl3 workaround

* fix: exit cleanly for node 18
2022-10-14 23:33:47 +08:00
DIYgod 63e141ab05 chore: fix foresight coverage path 2022-10-10 20:37:36 +01:00