Tony
9b09c12d9b
chore: use pnpm provided by corepack
2024-05-08 00:55:53 +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
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
Tony
9739188a3c
chore: pin pnpm to v8 in docker instead of installing v9 via corepack
2024-04-17 00:18:56 +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
61bd55ac33
chore: fix missing git in docker
2024-03-14 20:52:52 +08:00
DIYgod
26072a79ce
chore: remove unused code
2024-03-09 01:41:06 +08:00
DIYgod
fe320c1153
feat: lazy load for production
2024-03-09 01:31:42 +08:00
DIYgod
4300d6d1f6
chore: temporarily remove docker minifier
2024-02-26 15:47:18 +08:00
Tony
78d9027c2f
chore: bump to node 20 ( #13801 )
2023-11-15 21:33:21 +08:00
TonyRL
c98cbf8ce9
chore: try fix arm64 build
2023-08-14 14:30:28 +00:00
Tony
ac90895a9f
build: fix vercel build ( #13006 )
2023-08-12 15:54:49 +08: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
TonyRL
9b31d57095
chore: fix install from git with production flag
...
reference:
https://github.com/typicode/husky/issues/914#issuecomment-1046274220
https://github.com/typicode/husky/issues/920#issuecomment-1202503697
fix: bc162849da (commitcomment-117186018)
fix : #12686
2023-06-21 12:17:59 +00:00
Tony
6477e64101
chore: disable husky in CI with a custom script
2023-05-08 14:17:09 +08:00
TonyRL
b11eee16c1
chore: disable husky in CI with a custom script
2023-05-08 03:38:14 +00: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
dependabot[bot]
fd05cd7585
chore(deps): bump puppeteer from 19.11.1 to 20.0.0 ( #12424 )
...
* chore(deps): bump puppeteer from 19.11.1 to 20.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 19.11.1 to 20.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.11.1...puppeteer-v20.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: use `PUPPETEER_SKIP_DOWNLOAD`
ref: https://github.com/puppeteer/puppeteer/pull/10054
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 03:57:04 +08:00
DIYgod
3d6d8eb107
chore: use node 18
2023-03-19 21:49:18 +00:00
Tony
98a03732ca
build(docker): put bundled chrome in node_modules ( #12075 )
2023-03-10 22:56:34 +08:00
dependabot[bot]
f095eafce7
chore(deps): bump puppeteer from 18.2.1 to 19.0.0 ( #11094 )
...
* chore(deps): bump puppeteer from 18.2.1 to 19.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json )
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v18.2.1...puppeteer-core-v19.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* build: fix chromium binary location again
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-15 20:13:13 +08:00
Tony
4f4be1fff7
build(docker): fix chromium favour ( #11027 )
2022-10-08 22:51:41 +08:00
Tony
8486e9dd2c
fix(route): zhihu x-zse-96 v3 ( #11022 )
...
* fix(route): zhihu x-zse-96 v3
* revert: "chore: fix docker build (#10956 )"
This reverts commit 5af05ea618 .
* revert: "fix(dockerfile): add missing librsvg2 for arm64/v7 (#11021 )"
This reverts commit f340a9072e .
* chore: yarn rebuild
* fix: typo
* refactor: simpler got request
* fix: misc fixes
2022-10-08 03:11:58 +08:00
Felix Hsu
f340a9072e
fix(dockerfile): add missing librsvg2 for arm64/v7 ( #11021 )
2022-10-07 10:33:55 +00:00
Tony
5af05ea618
chore: fix docker build ( #10956 )
2022-09-29 21:13:37 +08:00
Rongrong
17fa8f5f67
perf(Dockerfile): speed up build ( #10621 )
...
Signed-off-by: Rongrong <i@rong.moe>
Signed-off-by: Rongrong <i@rong.moe>
2022-08-26 17:42:02 +08:00
DIYgod
8cf4fe41f2
fix: re2 docker build error
2022-06-21 17:19:48 +01: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
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
韶楠
6cfa103aba
feat(route): 色花堂添加版块 ( #8696 )
...
* add_zhtlq
* docs修改
* bugfix
* fix: remove unnecessary changes
Co-authored-by: hideonbushhh <1113093259@qq.com>
Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 22:48:45 +08:00
NPM Mirror Bot
1823093a9b
fix: update https://registry.npm.taobao.org to https://registry.npmmirror.com ( #9078 )
...
Co-authored-by: NPM Mirror Bot <npmmirror@localhost>
2022-02-11 19:21:30 -04:00
Tony
3adbc8adcd
chore: docker build cache ( #8967 )
2022-01-31 23:53:58 +08:00
DIYgod
2d9cf45fad
chore: fix yarn timeout in gitub actions
2022-01-22 14:51:42 +00:00
RikkaBlue
b36b326742
fix(build):change npm ci to yarn ( #8716 )
2022-01-08 00:44:12 -08:00
NeverBehave
c0b638c860
fix(dockerfile): copy necessary file when building ( #8008 )
...
* fix(dockerfile): copy necessary file when building
*when even bother deleting file...
* no console
2021-08-13 03:44:39 -07:00
NeverBehave
196d874cce
chore(dockerfile): bump builder image
2021-08-12 23:10:12 -07:00
NeverBehave
9bc99cefb4
chore(misc): bump to node 14, simplify template
2021-08-12 22:38:05 -07:00
NeverBehave
fe4c82ef2d
chore(misc): fix various ci issue
...
*some of them shown cancelled instead of failed. Need to address this issue later
2021-08-12 21:57:56 -07:00
fengkx
c412846dc0
chore(core): Docker build 缩小 image size 更新github action ( #7197 )
2021-08-11 23:01:35 -07:00
Ving
a1118f6aa9
deps: upgrade to node v14 for docker ( #7012 )
2021-02-24 16:55:53 -05:00
Peter Dave Hello
f3fcb80426
chore: remove unnecessary apt-get clean in Dockerfile ( #5958 )
...
This image is built from the official Debian image as upstream, so there
is no need to do apt-get clean manually.
Ref:
- https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
> Official Debian and Ubuntu images automatically run apt-get clean, so
> explicit invocation is not required.
2020-10-21 16:16:42 +01:00
DIYgod
03d6e7f04e
fix: add g++ in Dockerfile to fix opencc installation
2020-09-25 02:01:13 +08:00
DIYgod
c2a6286786
fix: add make in Dockerfile to fix opencc installation
2020-09-25 01:56:14 +08:00
DIYgod
f2b4bfbff8
fix: add python in Dockerfile to fix opencc installation
2020-09-25 01:51:38 +08:00
DIYgod
1df700d3af
chore: move clean-nm.sh to tools folder
2020-04-29 19:02:28 +08:00
fengkx
77ccb135df
feat: smaller image ( #4278 )
2020-03-19 19:29:49 +08:00
hoilc
e8242c9e78
fix: switch default sh to bash ( #3813 )
2020-02-01 17:13:05 +08:00
Henry Wang
4253dd11e0
feat: use buildx for multi-arch docker image build ( #3603 )
2019-12-20 18:18:39 +08:00
DIYgod
64d8c2acc3
fix: install git in docker for compatibility with mercury-parser
2019-08-03 14:44:38 +08:00