Commit Graph

87 Commits

Author SHA1 Message Date
MDLeom f339c1f171
style: log when large file is removed 2024-10-28 07:36:01 +00:00
MDLeom 8cb1b7f724
fix: declare fs.stat() 2024-10-28 07:34:01 +00:00
MDLeom cd34943180
build: remove file >=25MiB in cf pages 2024-10-27 07:07:19 +00:00
MDLeom b36dea1bde
build: only remove .rules from Cloudflare Pages 2024-10-27 05:48:36 +00:00
MDLeom 499330a12d
build: extract zip from stream
previous bug should be fixed in recent node versions
b03e462e42

https://github.com/ZJONSSON/node-unzipper/issues/271#issuecomment-2021223739
2024-10-27 05:18:07 +00:00
MDLeom 479825bc45
style: unused variable 2024-10-24 10:28:08 +00:00
MDLeom c1da46d7da
build: remove oisd 2024-10-13 03:20:14 +00:00
MDLeom 1158cb1f72
chore(deps): bump actions/checkout from 2 to 4 2024-10-13 02:40:20 +00:00
MDLeom 30a4158ffe
chore(deps): bump actions-gh-pages from 3 to 4 2024-10-13 02:37:17 +00:00
MDLeom 678aa6f01b
chore(deps): bump actions/upload-artifact from 2 to 4 2024-10-13 02:37:10 +00:00
MDLeom 2cb4acb693
fix: unzip alternatives 2024-07-15 09:42:30 +00:00
MDLeom bffec4485d
refactor: set pipefail conditionally 2024-07-15 08:02:11 +00:00
MDLeom 3cc680f3bc
fix: expand alias in bash 2024-06-03 08:21:16 +00:00
MDLeom 90d191c6df
build(cf): compatibility between asdf & nvmrc
https://github.com/asdf-vm/asdf-nodejs#partial-and-codename-versions
2024-04-09 10:02:03 +00:00
MDLeom 970e0af6ab
chore(node): use latest lts
consistent with gitlab/github CI
https://github.com/asdf-vm/asdf-nodejs#resolving-latest-available-lts-version-in-a-script
2024-04-07 06:28:27 +00:00
MDLeom 565d2f9236
refactor: replace got with fetch 2024-04-06 22:49:24 +00:00
MDLeom 7cb3cd0567
style(js): Object.hasOwn() 2023-10-01 09:53:46 +00:00
MDLeom 18c87cfcb4
style(js): Object.hasOwn() 2023-10-01 09:52:36 +00:00
MDLeom 4049d45b20
ci: remove unused step from netlify job 2023-10-01 09:47:55 +00:00
MDLeom 46b4079beb
chore(deps): bump got from 11 to 13 2023-10-01 09:46:35 +00:00
MDLeom e4eb2bb4a0
refactor: esm
got is esm only since v12
2023-10-01 09:46:12 +00:00
MDLeom 47d23fc9b2
chore(node): require at least Node 18 2023-10-01 09:38:29 +00:00
MDLeom 47705495f4
build(cf): exclude files larger than 26.2MB 2023-08-22 12:47:06 +00:00
MDLeom 7e745ba6d1
fix: only check for failed pipeline
- successful pipeline may have unknown status
2023-08-06 11:20:20 +00:00
MDLeom b03e462e42
Revert "refactor: unzip gotStream directly"
- extracted files are missing first few lines
This reverts commit c9617be450.
2023-08-06 11:16:26 +00:00
MDLeom 3b13737e91
Revert "style: remove unused variable"
This reverts commit e77fdd12de.
2023-08-06 11:16:02 +00:00
MDLeom e77fdd12de
style: remove unused variable 2023-08-05 01:06:08 +00:00
MDLeom 33185823b6
chore: bump minimum node to 16.13.0 2023-08-04 12:12:07 +00:00
MDLeom c9617be450
refactor: unzip gotStream directly
without saving as a zipfile
2023-08-04 12:03:27 +00:00
MDLeom 61b1f67060
fix: exclude pup-filter
https://gitlab.com/malware-filter/pup-filter/-/issues/2
2023-06-13 08:43:11 +00:00
MDLeom 71f9bfc9ab
docs: add repo mirros 2023-06-05 08:04:31 +00:00
MDLeom 5bbcef07a4
chore(node): use node 20
- "lts/*" alias is not recognised due to asdf/node-build
- cf pages previously used nvm
2023-05-19 07:58:12 +00:00
MDLeom dc4d371510
Revert "ci: downgrade to node 16"
This reverts commit acabb9ce2a.
https://blog.cloudflare.com/moderizing-cloudflare-pages-builds-toolbox/
2023-05-18 11:30:46 +00:00
MDLeom ce04ab769b
chore: dual-license under MIT & CC0
- OSI-approved license (e.g. MIT license) is required
for GitLab Open Source Program
- https://docs.gitlab.com/ee/subscriptions/community_programs.html#gitlab-for-open-source
2023-04-27 09:23:40 +00:00
MDLeom cf800a75e5
docs: add CC0 license 2023-04-26 09:31:07 +00:00
MDLeom 6f0c31c8cf
feat: add botnet-filter
https://gitlab.com/malware-filter/botnet-filter
2023-01-01 00:09:47 +00:00
MDLeom 9c7939373b
docs: reason to failover to github
- https://gitlab.com/gitlab-org/gitlab/-/issues/29257
2022-12-17 06:47:27 +00:00
MDLeom acabb9ce2a
ci: downgrade to node 16
- lts is now 18
- cf pages still does not support v18 yet
2022-11-01 06:58:37 +00:00
MDLeom 826a31563c
ci(artifacts): expire in 1 week 2022-09-10 09:03:25 +00:00
MDLeom f225cdbda3
ci(gl): expires job artifacts
- https://docs.gitlab.com/ee/user/usage_quotas.html
2022-08-09 00:07:34 +00:00
MDLeom 10f500744f
fix: migrate to malware-filter group
- BREAKING CHANGE
- gitlab.com/malware-filter/malware-filter
2022-05-21 02:51:52 +00:00
MDLeom f8178becdf
fix: use migrated tracking-filter repo
- https://gitlab.com/malware-filter/tracking-filter
2022-05-17 01:11:22 +00:00
MDLeom a0c964ec77
docs: to be migrated to gitlab.com/malware-filter
- https://about.gitlab.com/blog/2021/11/11/public-project-minute-limits
- https://about.gitlab.com/blog/2022/02/04/ultimate-perks-for-open-source-projects
2022-05-11 08:01:21 +00:00
MDLeom 267d95a601
ci(ga): install node deps before build 2022-03-24 06:47:53 +00:00
MDLeom 7038cc1df7
ci(ga): replace script.sh with more reliable build.js
- add vn-badsite-filter to script.sh
2022-03-23 06:35:23 +00:00
MDLeom df2fb3c5a3
build: add vn-badsite-filter
- https://gitlab.com/curben/vn-badsite-filter
2022-03-20 06:51:12 +00:00
MDLeom ac8d6b2ba3
build: check last pipeline status
- using pipeline badge
- https://docs.gitlab.com/ee/ci/pipelines/settings.html#pipeline-status-badge
2022-03-19 05:33:26 +00:00
MDLeom 66ff1f7f3b
ci: add artifact dependency
- reuse artifact in netlify job
2022-03-14 06:23:06 +00:00
MDLeom f54586a5bb
ci: cache 2022-01-26 04:09:56 +00:00
MDLeom d58c08c132
build: npm install 2022-01-26 03:57:54 +00:00