Rongrong
ff3fcdd97e
chore(CI): remove setup-QEMU from docker-test ( #9690 )
...
useless step
Signed-off-by: Rongrong <i@rong.moe >
2022-05-04 17:35:08 +10:00
Rongrong
23fcb6bc5a
feat(core/utils/request-wrapper): request logging ( #9691 )
...
Signed-off-by: Rongrong <i@rong.moe >
2022-05-04 12:36:48 +10:00
Rongrong
c1fbc64255
chore(*): detailed info for PR route test ( #9689 )
...
Signed-off-by: Rongrong <i@rong.moe >
2022-05-04 06:08:10 +08:00
TonyRL
e0a809fbc2
chore: set test image artifact to 1 day
...
1 build ~247MB, Pro account has 2GB
2022-05-03 18:01:38 +00:00
Tony
78b43b1b0c
chore: add pr title lint ( #9686 )
...
* chore: add pr title lint
* chore: fix pr template typo
2022-05-04 01:31:23 +08:00
Tony
1dfc101a59
chore: bump gha node to v16 ( #9685 )
2022-05-03 20:10:10 +08:00
Rongrong
7b6589cafa
chore(*): migrate to GHA-based PR route test ( #9683 )
...
Signed-off-by: Rongrong <i@rong.moe >
2022-05-03 19:24:27 +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
Rongrong
d8c00ec238
build(docker): optimize; add Chromium bundled ver ( #9626 )
...
* build(docker): optimize; add Chromium bundled ver
Signed-off-by: Rongrong <i@rong.moe >
* build(Dockerfile): fix redundant command and label
Signed-off-by: Rongrong <i@rong.moe >
* build(docker): only install prod deps to speed up
Signed-off-by: Rongrong <i@rong.moe >
* docs(install): minor fixes
Signed-off-by: Rongrong <i@rong.moe >
* build(Dockerfile): bump to `node:16-bullseye-slim`
Signed-off-by: Rongrong <i@rong.moe >
* build(Dockerfile): fix yarn registry mirror
Signed-off-by: Rongrong <i@rong.moe >
* build(Dockerfile): minimize dependencies
for Chromium-bundled version
Signed-off-by: Rongrong <i@rong.moe >
2022-04-28 20:40:21 +08:00
dependabot[bot]
9013eb7482
chore(deps): bump github/codeql-action from 1 to 2 ( #9621 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-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-26 04:40:50 +08:00
Tony
455594aff2
chore: switch back from pull_request_target to pull_request
2022-04-18 02:32:51 +08:00
dependabot[bot]
e35940b3bd
chore(deps): bump cirrus-actions/rebase from 1.5 to 1.6 ( #9548 )
...
Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase ) from 1.5 to 1.6.
- [Release notes](https://github.com/cirrus-actions/rebase/releases )
- [Commits](https://github.com/cirrus-actions/rebase/compare/1.5...1.6 )
---
updated-dependencies:
- dependency-name: cirrus-actions/rebase
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-16 05:56:16 +08:00
Tony
3526170c79
chore: add eslint along with reviewdong
2022-04-12 17:38:58 +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
Tony
3b00a07c2a
chore: skip docker build on maintainer / radar update
...
[skip ci]
2022-04-09 19:26:28 +08: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
Tony
300af73187
chore: auto update docker hub description ( #9454 )
2022-04-04 00:05:43 +08: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
github-actions[bot]
0cb66d19b3
style: auto format
2022-03-05 17:48:13 +00:00
Tony
523a9b2b8a
chore: add codeql ( #9249 )
2022-03-06 01:37:55 +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
Tony
0210d468f4
style(eslint): no empty line before comments for yml ( #9203 )
2022-02-26 09:06:31 +08: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
Tony
7794ce2458
chore: lint
...
[skip ci]
2022-02-24 14:15:13 -09:00
Tony
a84e83b2a9
chore: allows triggering docker builds manually
2022-02-24 14:05:38 -09: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
cc362e4c7b
chore: change pr lint event to pull_request_target
...
Reviewdog does not has sufficient permission to write Review API
See <https://github.com/reviewdog/reviewdog/blob/master/cmd/reviewdog/main.go#L277 >
2022-02-24 16:56:25 +00:00
Tony
802b67fcbb
chore: eslint with reviews ( #9185 )
2022-02-24 07:48:26 +08: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
26752077c6
chore: github actions bot email ( #9138 )
2022-02-18 22:55:22 +08:00
Yishuai Li and Tony
abfdcc8cdb
ci: release docker in source only, take 2 ( #9132 )
...
* ci: release docker in source only (#8971 )
* ci: release docker in source only
* condition at job level
* condition over secrets
* Apply suggestions from code review
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* ci: fix job condition
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
2022-02-18 03:56:21 +08:00
dependabot[bot]
79cddeafa1
chore(deps): bump actions/github-script from 5 to 6 ( #9080 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/github-script
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-12 05:12:45 +06: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
Yishuai Li
b6b692d268
revert: "ci: release docker in source only ( #8971 )"
...
This reverts commit 596167541e .
2022-02-04 19:26:12 +08:00
Yishuai Li and Tony
596167541e
ci: release docker in source only ( #8971 )
...
* ci: release docker in source only
* condition at job level
* condition over secrets
* Apply suggestions from code review
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
2022-02-04 18:55:40 +08:00
Tony
5d83517090
chore: fix wait-for-vercel-preview version tag
2022-02-02 08:28:22 -09:00
Tony
7fce06ff04
chore: publish docker on docker-release workflow changes only
2022-02-02 07:54:17 -09:00
Tony
ceb2b34e0a
chore: fix pr-deploy-route-test workflow
2022-02-02 07:50:49 -09:00
Yishuai Li and Tony
eb344ea667
chore: Ignore dependabot on forks ( #8431 )
...
* Ignore dependabot on forks
* Apply suggestions from code review
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
2022-02-01 01:16:08 +08:00
Tony
3adbc8adcd
chore: docker build cache ( #8967 )
2022-01-31 23:53:58 +08:00
Tony
f843d74f7c
chore(docs): enforce using issue forms ( #8643 )
...
* chore(docs): enforce using issue forms
* chore(workflow): fix issue form url
2021-12-02 20:08:50 +08:00
DIYgod
59b5b1a46a
chore: fix setuo-node cache
2021-11-28 00:53:01 +00:00
DIYgod
6e10cb59ba
chore: npm ci -> yarn
2021-11-28 00:36:24 +00:00
dependabot[bot]
dab3e9497c
chore(deps): bump codecov/codecov-action from 1 to 2.1.0 ( #8601 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-28 00:04:40 +00:00
dependabot[bot]
970cf5eba5
chore(deps): bump actions/github-script from 3 to 5 ( #8602 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-28 00:04:24 +00:00