diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 771d974e..6e2e6807 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: '19.9' + cache: 'npm' + cache-dependency-path: package-lock.json - name: npm run: | npm i -g hexo-cli @@ -30,4 +32,4 @@ jobs: publish_branch: master publish_dir: ./public - name: algolia - run: hexo algolia \ No newline at end of file + run: hexo algolia