Skip to content

Remove package-lock.json: npm install faster than npm ci for small dependency sets #5

Remove package-lock.json: npm install faster than npm ci for small dependency sets

Remove package-lock.json: npm install faster than npm ci for small dependency sets #5

Workflow file for this run

name: Lint HTML, CSS, and JavaScript
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Lint HTML files
run: npm run lint:html
- name: Lint CSS files
run: npm run lint:css
- name: Lint JavaScript files
run: npm run lint:js