beschreiben #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FHIR Validation | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- staging | |
pull_request: | |
branches: | |
- main | |
- master | |
- staging | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
fsh-fhir-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Checkout packages repository | |
uses: actions/checkout@v2 | |
with: | |
repository: julsas/mii-package-temp | |
path: packages | |
lfs: true | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 1.8 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install fsh-sushi | |
run: npm install && npm install -g fsh-sushi | |
- name: Untar FHIR packages to package repository | |
working-directory: ./packages | |
run: ./packages/untar_packages.sh | |
- name: Execute validator | |
run: fsh-validator --all |