Skip to content

Commit

Permalink
cache node
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalabbad committed Aug 2, 2024
1 parent 9487eed commit 4f55347
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: "Check out repository code"
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Install dependencies
run: npm install
- name: Run Chromatic
Expand Down

0 comments on commit 4f55347

Please sign in to comment.