Skip to content

Add GitHub Actions workflow for Jekyll deployment #8

Add GitHub Actions workflow for Jekyll deployment

Add GitHub Actions workflow for Jekyll deployment #8

Workflow file for this run

name: JavaScript Analysis
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
npm init -y
npm install eslint eslint-plugin-html --save-dev
npm pkg set type="module"
- name: Run Analysis
run: npx eslint "**/*.html"