Skip to content

Commit

Permalink
Update astro.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparnap2 authored Jan 8, 2025
1 parent 204f8fb commit 4f88ab4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20"
cache: 'npm'
cache-dependency-path: ${{ env.BUILD_PATH }}/package-lock.json

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 4f88ab4

Please sign in to comment.