Update action Tester

This commit is contained in:
Mimi 2022-02-14 23:07:29 +08:00
parent 62371d36a9
commit 0533489746

View File

@ -25,5 +25,13 @@ jobs:
repository: SukkaLab/hexo-many-posts
path: source/_posts/hexo-many-posts
- run: npx hexo config theme next
- uses: DamianReeves/write-file-action@master
with:
path: themes/next/scripts/error.js
contents: |
hexo.log.error = function(...params) {
console.error("ERROR", ...params);
process.exit(1);
}
- name: Test
run: npx hexo g