Skip to content

Commit

Permalink
Cache Node.js modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rockphotog authored Jan 27, 2025
1 parent de6f4cb commit bb81430
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/validate-fsh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,24 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Set up Python
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install fsh-sushi
run: npm install -g fsh-sushi
Expand Down

0 comments on commit bb81430

Please sign in to comment.