generated from hms-networks/sc-java-maven-starter-project
-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (35 loc) · 951 Bytes
/
doc-test-deploy.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
# HMS Networks; Americas
# Test Docusaurus Deploy Action for Maven-based Ewon ETK Projects
# Version: 3.0.0
# Date: February 8, 2024
#
# This action is configured to automatically run when a pull request
# is opened for the `main` branch.
name: Test Docusaurus Build
on:
pull_request:
branches:
- main
jobs:
doc-test-deploy:
name: Test Docusaurus Build
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: web-docs
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn
cache-dependency-path: web-docs/yarn.lock
- name: Install Dependencies
working-directory: ./web-docs
run: yarn install --frozen-lockfile
- name: Test Build Website
working-directory: ./web-docs
run: yarn build