docs.yml 520 Bytes
Newer Older
XhmikosR's avatar
XhmikosR committed
1
name: Docs
2
3
4
5
6
7
8

on:
  push:
    branches-ignore:
      - "dependabot/**"
  pull_request:

XhmikosR's avatar
XhmikosR committed
9
env:
10
  FORCE_COLOR: 2
11
  NODE: 16
XhmikosR's avatar
XhmikosR committed
12
13
14
15
16
17
18
19
20

jobs:
  docs:
    runs-on: ubuntu-latest

    steps:
      - name: Clone repository
        uses: actions/checkout@v2

21
      - name: Set up Node.js
22
        uses: actions/setup-node@v2
XhmikosR's avatar
XhmikosR committed
23
24
        with:
          node-version: "${{ env.NODE }}"
25
          cache: npm
XhmikosR's avatar
XhmikosR committed
26

XhmikosR's avatar
XhmikosR committed
27
      - run: java -version
XhmikosR's avatar
XhmikosR committed
28
29
30
31
32
33

      - name: Install npm dependencies
        run: npm ci

      - name: Test docs
        run: npm run docs