From e39acdf8b203cb89ea3feb79d16df552f00939c4 Mon Sep 17 00:00:00 2001 From: Uiolee <22849383+uiolee@users.noreply.github.com> Date: Wed, 26 Jun 2024 02:30:34 +0800 Subject: [PATCH] add hexo@7 (#231) --- .github/workflows/ci.yml | 14 ++++---------- package.json | 2 +- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdc8af2..5772f63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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)" @@ -43,4 +38,3 @@ jobs: - name: Run unit tests run: yarn test - diff --git a/package.json b/package.json index 969c29a..74ce66c 100644 --- a/package.json +++ b/package.json @@ -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",