Commit Graph

65 Commits

Author SHA1 Message Date
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
DIYgod 891cd8f5c5
chore: jest junit output for foresight 2022-10-10 18:37:36 +01:00
DIYgod 2bd4fd7b8d
chore: use foresight 2022-10-10 18:10:52 +01:00
Tony 8b04fef528
chore: add labeler (#10285) 2022-07-20 23:45:54 +08:00
Rongrong 13ec6be32b
fix(test): failing puppeteer without stealth test (#9851)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-30 01:49:01 -03:00
TonyRL 38130beef4 chore: avoid unnecessary test action run 2022-05-23 13:01:29 +00:00
TonyRL d65f5fd053 chore(workflow): puppeteer test dont fail fast 2022-05-15 15:54:40 +00:00
Rongrong 4e407d7aaa
ci(test): ignore push event on `dependabot/**` (#9736)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-12 01:53:21 +08:00
Tony 1dfc101a59
chore: bump gha node to v16 (#9685) 2022-05-03 20:10:10 +08:00
Rongrong 7a6be9a229
feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

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

* chore: fix typo

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

* chore(CI/test): using build matrix

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

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
Rongrong 6bdb57c91c
chore(CI): re-enable codecov token to fix error (#9664)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-29 22:48:49 -05:00
Rongrong 72070d40cc
chore(*): fix code coverage not uploaded (#9661)
Signed-off-by: Rongrong <i@rong.moe>
2022-04-30 07:37:23 +08:00
neilnaveen ba496a625c
chore: Set permissions for GitHub actions (#9644)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-28 21:01:45 +08:00
TonyRL 6c7988c481 chore: rebuild yarn.lock
* minimist 1.2.5 CVE-2021-44906
2022-04-11 23:38:08 +00:00
dependabot[bot] 35cdecc924
chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1 (#9518)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 07:37:28 -11:00
dependabot[bot] ca5af864cc
chore(deps): bump codecov/codecov-action from 2.1.0 to 3 (#9478)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3)

---
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>
2022-04-05 20:27:36 -07:00
dependabot[bot] 9f791abda7
chore(deps): bump actions/setup-node from 3.0.0 to 3.1.0 (#9445)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-02 06:05:02 +08:00
dependabot[bot] 1fbda8fc72
chore(deps): bump actions/checkout from 2 to 3 (#9230)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

---
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>

[skip ci]
2022-03-01 12:04:46 -10:00
TonyRL 5324eefdad chore: test build radar and maintainer
chore: drop dependabot ignored deps temporarily

For some unknown reasons, it seems using a pretty old config(e.g., ignore googleapis=67.1.0) instead of the current only ignore esm deps
2022-02-25 03:50:35 +00:00
dependabot[bot] 7d120cefbf
chore(deps): bump actions/setup-node from 2 to 3.0.0 (#9194)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.0.0)

---
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>
2022-02-24 17:08:26 -05:00
Tony 862ec5df44
chore: name actions (#9152)
[skip ci]
2022-02-19 19:39:52 +08:00
Tony 0c8fe12889
chore: parallel test (#9139)
* chore: parallel test

* chore: parallel test
2022-02-18 23:03:39 +08:00
Tony 5326d9f751
chore(misc): multiple enhancement to github actions (#9000)
* chore: test workflow use redis

* chore: docker build cache sharing

* chore: eslint format yml files

* chore: nodemon restart on art template files changes

* chore: run test on multi node and os

* chore: unnecessary single version matrix build

* chore: fix container operations

Container operations are only supported on Linux runners

* chore: fix gha syntax

* chore: fix node version not show up

* revert: "chore: test workflow use redis"

This reverts commit df818fd697b4c9151ac635cdb5918e03a4b37062.

* revert: "chore: fix container operations"

This reverts commit c949368aa7048b9d0f3f1942501c695f10f07f06.

* revert: "chore: run test on multi node and os"

This reverts commit 6b1cfde579095e73d0314346fb1a2d12d0de00ac.

* chore: run test on multi node version
2022-02-06 01:36:14 +08:00