Skip to content

Github Action - Generates report.html for Spellchecker #2

Github Action - Generates report.html for Spellchecker

Github Action - Generates report.html for Spellchecker #2

Workflow file for this run

name: Generate Spelling Error Report
name: Spellchecker Timeplus

Check failure on line 3 in .github/workflows/spellchecker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/spellchecker.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
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