Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
penndu authored Nov 3, 2023
1 parent 949295d commit 58377f0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,10 @@ 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
npm i
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: |
~/node_modules
~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: hexo
run: |
hexo g --slient
Expand Down

0 comments on commit 58377f0

Please sign in to comment.