mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Update action Tester
This commit is contained in:
parent
62371d36a9
commit
0533489746
8
.github/workflows/tester.yml
vendored
8
.github/workflows/tester.yml
vendored
@ -25,5 +25,13 @@ jobs:
|
|||||||
repository: SukkaLab/hexo-many-posts
|
repository: SukkaLab/hexo-many-posts
|
||||||
path: source/_posts/hexo-many-posts
|
path: source/_posts/hexo-many-posts
|
||||||
- run: npx hexo config theme next
|
- 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
|
- name: Test
|
||||||
run: npx hexo g
|
run: npx hexo g
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user