Skip to content

Update actions/checkout action to v4 #2170

Update actions/checkout action to v4

Update actions/checkout action to v4 #2170

Workflow file for this run

name: Linter
on: [push, pull_request]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Use Node.js
uses: actions/setup-node@v3
- name: Install Dependencies
run: npm install
- run: npm run eslint
- name: Coverage
run: npx c8 --reporter=lcovonly npm test
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install curlylint
- run: curlylint --include .njk layout