File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,21 +25,22 @@ jobs:
2525 uses : actions/cache@v4
2626 with :
2727 path : node_modules
28- key : ${{ runner.OS }}-npm-cache
28+ key : ${{ runner.os }}-npm-cache
2929 restore-keys : |
30- ${{ runner.OS }}-npm-cache
30+ ${{ runner.os }}-npm-cache
3131 - name : Install Dependencies
3232 run : |
3333 npm install
3434 npm install hexo@latest --save
3535 npm install hexo-deployer-git@latest --save
36- npm install highlight.js@latest --save
36+ npm install highlight.js@^11.10.0 --save
3737 - name : Install Hexo CLI
3838 run : npm install -g hexo-cli@latest
3939 - name : Configure Git
4040 run : |
4141 git config --global user.name "GitHub Actions"
4242 git config --global user.email "actions@github.com"
43+ git config --global init.defaultBranch main
4344 - name : Run Hexo Commands
4445 run : |
4546 hexo cl
You can’t perform that action at this time.
0 commit comments