MDLeom
|
415a7591c8
|
ci(gitlab): switch back to npm
|
2020-08-10 04:11:10 +00:00 |
MDLeom
|
cabc7316a7
|
ci: add git
- required by package.json
|
2020-07-12 08:56:14 +01:00 |
MDLeom
|
19e17e1193
|
ci: utilize Gitlab's mirroring
- https://docs.gitlab.com/ee/user/project/repository/repository_mirroring.html
- Commits to protected branches are push to mirror within a minute
- Less one private key to manage
|
2020-07-12 08:41:20 +01:00 |
MDLeom
|
1fdb005dff
|
ci(gitlab): git is required for npm install from github repo
|
2020-05-16 08:23:39 +01:00 |
MDLeom
|
fead9c7cdb
|
Revert "ci(gitlab): install hexo globally (test)"
This reverts commit 829e1aa47b .
|
2020-05-16 07:39:40 +01:00 |
MDLeom
|
829e1aa47b
|
ci(gitlab): install hexo globally (test)
|
2020-05-16 07:30:24 +01:00 |
MDLeom
|
3ad22a8471
|
ci(gitlab): switch npm to pnpm
- workaround for hexo issue
- doesn't affect renovate
|
2020-05-16 07:27:00 +01:00 |
MDLeom
|
871b9965bb
|
ci(gitlab): update npm
- partially revert 1610386252
|
2020-05-16 07:15:05 +01:00 |
MDLeom
|
6ea63710ee
|
Revert "ci(gitlab): switch npm to pnpm"
This reverts commit ff62fb9ad4 .
|
2020-05-16 07:14:06 +01:00 |
MDLeom
|
ff62fb9ad4
|
ci(gitlab): switch npm to pnpm
|
2020-05-16 07:09:19 +01:00 |
MDLeom
|
dd3db60689
|
Revert "ci(gitlab): execute hexo without using npm script"
This reverts commit da8d14b4af .
|
2020-05-16 07:06:47 +01:00 |
MDLeom
|
da8d14b4af
|
ci(gitlab): execute hexo without using npm script
|
2020-05-16 07:03:57 +01:00 |
MDLeom
|
b71c5920c8
|
ci(gitlab): restore hexo
|
2020-05-16 07:00:08 +01:00 |
MDLeom
|
f6b2e9813c
|
ci(gitlab): temporarily stop hexo
- to upload npm cache
- remove snyk from netlify
|
2020-05-16 06:50:41 +01:00 |
MDLeom
|
ad14d52da4
|
ci(gitlab): downgrade to Node 12
|
2020-05-16 06:43:40 +01:00 |
MDLeom
|
a08511612a
|
ci: list npm binaries (test)
|
2020-05-16 06:30:43 +01:00 |
MDLeom
|
ecdcc71923
|
Revert "ci(gitlab): install hexo-cli globally"
This reverts commit 1e3c0bb778 .
|
2020-05-16 06:22:09 +01:00 |
MDLeom
|
1e3c0bb778
|
ci(gitlab): install hexo-cli globally
|
2020-05-16 06:14:08 +01:00 |
MDLeom
|
755e16c5de
|
ci(gitlab): move `npm install` to job script
- global script somehow doesn't work anymore
|
2020-05-15 11:34:26 +01:00 |
MDLeom
|
1610386252
|
ci: remove unnecessary npm update
- updating Node also updates npm
|
2020-05-04 11:31:30 +01:00 |
MDLeom
|
65f17c547e
|
fix(ci): Discard changes before checking out branch
|
2020-04-15 04:56:53 +01:00 |
MDLeom
|
ee31cf6a0d
|
fix(ci): checkout local branches
|
2020-04-15 04:46:48 +01:00 |
MDLeom
|
e67014b813
|
ci: update github mirror
|
2020-04-15 03:38:39 +01:00 |
curben
|
f4375dc216
|
ci: replace only/except with rules syntax
- https://docs.gitlab.com/ee/ci/yaml/README.html#rules
- only/except may be deprecated in future
* https://docs.gitlab.com/ee/ci/yaml/README.html#onlyexcept-basic
|
2019-12-23 23:36:51 +00:00 |
curben
|
633f5bc5e8
|
chore: always update npm
|
2019-08-23 12:06:25 +09:30 |
curben
|
d2d627ba27
|
chore: move hexo-server to dev-deps
|
2019-08-23 12:02:37 +09:30 |
curben
|
0d199427f3
|
style: merge snyk scripts into a line
|
2019-08-08 15:52:53 +09:30 |
curben
|
955b1d6517
|
chore(dev-deps): move snyk and renovate to ci scripts
|
2019-08-08 09:15:01 +09:30 |
curben
|
b03b23e44e
|
chore: install git
ef96081fc7 fix requires git
|
2019-06-02 14:31:08 +09:30 |
curben
|
c48a788005
|
chore: remove gnu patch dep
snyk switch to jsdiff since v1.131.0
https://github.com/snyk/snyk/releases/tag/v1.131.0
|
2019-04-05 11:51:41 +10:30 |
curben
|
63288243d3
|
chore: don't run test job when renovate runs
|
2018-11-06 19:07:35 +10:30 |
curben
|
883b18caa4
|
chore: move snyk and renovate to devDependencies
Installation of snyk and renovate can be skipped through '--only=prod' flag
|
2018-11-03 14:28:26 +10:30 |
curben
|
efe8183b85
|
test: fix snyk unable to patch
snyk requires GNU's patch that support --backup argument,
the argument is not supported by alpine built-in busybox's patch
https://github.com/snyk/snyk/issues/108#issuecomment-412937627
https://github.com/snyk/snyk/issues/99#issuecomment-322202989
previous commit (faa286cb5f ) did not fix
|
2018-10-30 20:29:09 +10:30 |
curben
|
1feecd37a4
|
test: only run renovate on schedules
not on master branch push
|
2018-10-28 18:46:18 +10:30 |
curben
|
b8332dee9f
|
chore: add renovate bot
https://renovatebot.com/
|
2018-10-28 17:58:45 +10:30 |
curben
|
0e7fbcbd0b
|
Use local package only and replace 'latest' with version number
https://firstdoit.com/no-need-for-globals-using-npm-dependencies-in-npm-scripts-3dfb478908?gi=9f1ea80a068
Specify 'latest' doesn't necessarily install the latest version
https://stackoverflow.com/a/39650983
|
2018-10-26 17:49:15 +10:30 |
curben
|
718a093777
|
Use alpine image instead of ubuntu
https://hub.docker.com/_/node/
https://github.com/nodejs/docker-node#image-variants
|
2018-10-13 20:33:14 +10:30 |
curben
|
f636ec012a
|
Run hexo on gitlab ci for debugging
|
2018-10-11 17:02:47 +10:30 |
curben
|
04cdbefaea
|
Clarify the parts in gitlab-ci.yml
job name and deploy command have changed since I migrated to Netlify
|
2018-10-02 14:08:25 +09:30 |
curben
|
744b0a57ac
|
Don't use pages as CI job name
https://docs.gitlab.com/ee/ci/yaml/README.html#pages
cb466dbe70
|
2018-10-01 12:35:37 +09:30 |
curben
|
cb466dbe70
|
Stop deploying to gitlab pages
|
2018-09-30 19:11:13 +09:30 |
curben
|
19eaf310af
|
Remove gzip from CI
now handled by hexo-yam
|
2018-09-29 15:33:51 +09:30 |
curben
|
0f58cc00fd
|
Use only one build job
Having build and test jobs is too slow
|
2018-09-26 20:50:21 +09:30 |
curben
|
2053a2c2de
|
Remove duplicate scripts
|
2018-09-25 11:09:12 +09:30 |
curben
|
80140fa10b
|
Apply patches immediately after 'npm install'
|
2018-09-25 10:54:14 +09:30 |
curben
|
9ede298e68
|
'only:' cannot be set globally
must be inside a job and must be an array not a string
|
2018-09-25 10:31:58 +09:30 |
curben
|
1b594c706e
|
Add snyk to CI
Use proper snyk flow https://snyk.io/docs/using-snyk/
|
2018-09-25 10:29:43 +09:30 |
curben
|
5d013e97b3
|
Compress files when deploy site
https://docs.gitlab.com/ee/user/project/pages/introduction.html#serving-compressed-assets
|
2018-09-19 21:13:24 +09:30 |
curben
|
1274172d76
|
Use latest nodejs, upgrade hexo packages
|
2018-09-18 19:01:05 +09:30 |
curben
|
2def51bce0
|
Use latest version of node v8
|
2018-09-14 17:57:43 +09:30 |