Skip to content

Commit

Permalink
Cache Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Oct 14, 2024
1 parent 38d3446 commit 2e3692e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ jobs:
with:
node-version: "20"

- name: Cache node modules
uses: actions/cache@v3
with:
path: |
node_modules
~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install & Build
run: yarn && yarn build

Expand Down

0 comments on commit 2e3692e

Please sign in to comment.