Skip to content

Commit

Permalink
cache Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rockphotog authored Jan 27, 2025
1 parent a2f3283 commit a193148
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ig-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,21 @@ jobs:
runs-on: ubuntu-latest
container: hl7fhir/ig-publisher-base:latest
steps:
- uses: actions/checkout@v4
- name: Install hl7.fhir.no.basis-2.2.0-snapshots in local cache and run IG Publisher
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '16'

- 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 FHIR packages and run IG Publisher
run: |
echo "NPM install fhir r4 core 4.0.1 from package registry"
npm --registry https://packages.simplifier.net install [email protected]
Expand Down

0 comments on commit a193148

Please sign in to comment.