Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bread-Ch4n authored Nov 3, 2024
1 parent fe97672 commit 19b28e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ jobs:
uses: actions/[email protected]
with:
node-version: '20'
cache: 'npm'

- name: Cache npm dependencies
uses: actions/[email protected]
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Disable Next.js telemetry
run: npx next telemetry disable

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 19b28e2

Please sign in to comment.