-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (32 loc) · 1017 Bytes
/
spellchecker.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
name: Generate Spelling Error Report
name: Spellchecker Timeplus
on:
workflow_dispatch:
env:
PRINCE_VER: 15.3
jobs:
spellchecker:
runs-on: ubuntu-latest
steps:
steps:
- name: Checkout Code
uses: actions/checkout@v4.2.2
- name: Setup Node.js environment
uses: actions/setup-node@v4.1.0
with:
node-version: 18.0
- name: Install Yarn Dependencies
run: yarn install
- name: Install Spellchecker CLI
run: yarn global add spellchecker-cli # Install spellchecker-cli globally
- name: Run spellchecker
run: yarn run spellcheck || true
- name: Install junit2html
run: pip install junit2html
- name: Generate HTML Report
run: junit2html spellchecker/report.junit.xml spellchecker/report.html
- name: Upload HTML Report
uses: actions/upload-artifact@v4
with:
name: Spellchecker Report
path: spellchecker/report.html