Commit Graph

75 Commits

Author SHA1 Message Date
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
curben 26ebd33f39 Restore node version to 8.11.2
Revert dfe3a3fd63 to fix 404 page.
2018-09-14 17:53:23 +09:30
curben dfe3a3fd63 Always use the latest node version 2018-09-14 17:50:20 +09:30
Oldani Pablo 1889460c8a Update .gitlab-ci.yml: update node version. 2018-06-12 19:09:24 +00:00
Ivan Nemytchenko 8c75157b47 changed image to node 4.2.2 2016-03-01 06:24:59 +00:00
V.Kolotyuk d5087ffee3 first commit 2016-02-29 20:25:06 +06:00