Skip to content

Commit

Permalink
add hexo@7 (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee authored Jun 25, 2024
1 parent 4fe7c35 commit e39acdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,22 @@ on:
push:
branches: [master]
pull_request:
types: [
synchronize,
opened,
reopened,
ready_for_review
]
types: [synchronize, opened, reopened, ready_for_review]

jobs:
unit_test:
name: 'Unit tests using Hexo ${{ matrix.hexo }}'
name: "Unit tests using Hexo ${{ matrix.hexo }}"
runs-on: ubuntu-latest
strategy:
matrix:
hexo: [3.x, 4.x, 5.x, 6.x]
hexo: [3.x, 4.x, 5.x, 6.x, 7.x]

steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand All @@ -43,4 +38,3 @@ jobs:

- name: Run unit tests
run: yarn test

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/hexojs/hexo-filter-responsive-images#readme",
"peerDependencies": {
"hexo": "3.x || 4.x || 5.x || 6.x"
"hexo": "3.x || 4.x || 5.x || 6.x || 7.x"
},
"dependencies": {
"bluebird": "^3.7.2",
Expand Down

0 comments on commit e39acdf

Please sign in to comment.