From fa0bf0319eea647e0eb51f97dade82844bc43f6d Mon Sep 17 00:00:00 2001 From: TeacherDu <46226528+penndu@users.noreply.github.com> Date: Thu, 9 Nov 2023 20:30:11 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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