Better study #204
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
validate: | |
name: Validate Implementation Guide | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [10, 12] | |
steps: | |
- name: Check out branch | |
uses: actions/checkout@v2 | |
- name: Set up OpenJDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Set up Jekyll | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install ruby-full build-essential zlib1g-dev | |
sudo gem install jekyll bundler | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install SUSHI and add FSH definitions | |
run: | | |
npm install -g fsh-sushi@^2.10.2 | |
sushi . | |
- name: Update IG publisher | |
run: | | |
sudo apt-get -y install iputils-ping | |
chmod +x ./_updatePublisher.sh | |
./_updatePublisher.sh -y | |
- name: Validate IG | |
run: | | |
chmod +x ./_genonce.sh | |
./_genonce.sh |