Commit Graph

39 Commits

Author SHA1 Message Date
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
dependabot[bot] 00b5d7292f
chore(deps): bump docker/build-push-action from 4 to 5 (#13275)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-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-13 06:25:54 +08:00
dependabot[bot] 377d9a2e6e
chore(deps): bump docker/metadata-action from 4 to 5 (#13276)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-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-13 06:18:57 +08:00
dependabot[bot] 96452f238b
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#13272)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-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-13 06:09:52 +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
Tony 8e8bed5981
chore: meilisearch index swap
prevent downtime after updating the docs
2023-09-01 16:29:07 +00:00
Tony 84ee153f81
chore: update deps (#12675)
* chore: update deps

* chore: extend docker build test timeout
2023-06-16 23:15:22 +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
TonyRL 1e8d030e0f docs: fix build on relative path
it worked on netlify but not cloudflare pages
2023-04-27 13:30:19 +00:00
Tony e5eba1f7dc
chore: signed release (#12355)
* chore: signed release

* fix: use single quotes
2023-04-20 22:32:00 +08:00
Tony 27ce86ccf6
chore: label on failed docker build 2023-04-16 14:43:28 +08:00
Jaya cf1fe23d7c
feat: 添加南京中医药大学研究生院博士招生RSS支持 && 添加南京鼓楼医院员工版教育培训RSS支持 (#12307)
* feat: add gxmzu utils

* fix: test01

* fix: try01

* fix: fix njxzc homepage tzgg date

* docs: add gxmzu rss docs support

* feat: finish gxmzu rss building

* fix: fix njxzc radar's docs

* fix: fix docs/university

* change gxmzu location in docs/university.md

* change gxmzu location in docs/university.md again

* a secomd attempt to change gxmzu location in docs/university.md

* fix: a third attempt to change gxmzu location in docs/university.md

* Update lib/v2/gxmzu/utils/index.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/gxmzu/maintainer.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* feat: 添加南京中医药大学研究生院博士招生RSS支持 && 添加南京鼓楼医院员工版教育培训RSS支持

* fix: fix njglyy/radar docs typos

* Update lib/v2/njucm/radar.js

* fix: remove rejectUnauthorized option

* Update lib/v2/njucm/radar.js

---------
2023-04-14 23:32:56 +08:00
Tony 1421d39f39
chore: cancel duplicated docker build test 2023-04-14 22:55:06 +08:00
TonyRL 64cb56827e chore: reopen and test pr/issue after edited 2023-04-05 14:05:00 +00:00
TonyRL 7113d82892 chore: actions timeout
[skip ci]
2023-02-09 16:12:41 +00:00
dependabot[bot] 900d056228
chore(deps): bump docker/build-push-action from 3 to 4 (#11731)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-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-01-31 07:09:26 +07:00
Tony be15499a1e chore: skip docker test on maintainer/radar update 2022-08-11 11:37:22 +00:00
dependabot[bot] 4b3cb4a130
chore(deps): bump docker/build-push-action from 2 to 3 (#9705)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-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-05-06 05:55:50 +08:00
dependabot[bot] 0659260576
chore(deps): bump docker/metadata-action from 3 to 4 (#9707)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-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-05-06 05:52:30 +08:00
dependabot[bot] e88114958e
chore(deps): bump docker/setup-buildx-action from 1 to 2 (#9706)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-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-05-06 05:48:02 +08:00
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
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
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
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] 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
Tony 862ec5df44
chore: name actions (#9152)
[skip ci]
2022-02-19 19:39:52 +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
Tony 3adbc8adcd
chore: docker build cache (#8967) 2022-01-31 23:53:58 +08:00
Tony 74db039ae2
chore(misc): add eslint-plugin-yml, npm cache (#8599) 2021-11-27 23:42:37 +00:00
NeverBehave 47176b6724
chore(test): test running docker after build (#8010)
* chore(test): test running docker after build

* add test in the same step

* add count times

* workflow typo

* add name when output

* if then

* test docker

* use id

* no tag

* what is docker id

* load single platform

* do not test multi-arch for now

* no load
2021-08-13 21:22:32 -07:00
fengkx c412846dc0
chore(core): Docker build 缩小 image size 更新github action (#7197) 2021-08-11 23:01:35 -07:00
Ray Lin 56f4b1ce51
fix(workflow): use single quote in expression. (#7014) 2021-02-24 16:51:42 -05:00
Henry bdc011861d
chore: limit workflow triggers 2020-12-26 12:06:42 +00:00
DIYgod 4b87ce6247
chore: remove GPR publish, publish path 2020-07-10 13:34:23 +08:00
Henry Wang 26ab46162c
chore: update buildx version input (#4695) 2020-05-08 14:25:42 +08:00
Henry Wang 4253dd11e0 feat: use buildx for multi-arch docker image build (#3603) 2019-12-20 18:18:39 +08:00