-
Notifications
You must be signed in to change notification settings - Fork 63
48 lines (40 loc) · 1.11 KB
/
modular-docs-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This workflow will generate any code then check for any git diff
name: Modular-docs tests
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- product: RHOSAK
- product: RHOSR
- product: RHOAS
- product: RHOC
- product: RHOAD
steps:
- uses: actions/checkout@v4
name: Checkout Source
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 16.6.2
- name: Set up JDK 9.0.4 for x64
uses: actions/setup-java@v4
with:
java-version: 15
distribution: 'adopt' # See 'Supported distributions' for available options
- name: Use Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
- run: npm --prefix .build install
name: Install Node Dependencies
- run: gem install asciidoctor tilt haml
name: Install Asciidoctor
- run: npm --prefix .build run generate:modular-docs
name: Generate modular-docs
env:
DOCS_PRODUCT_NAME: ${{matrix.product}}