Skip to content

Update linter.yml

Update linter.yml #13

Workflow file for this run

name: Java Linter
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with: node-version: 20.14.0

Check failure on line 20 in .github/workflows/linter.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linter.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Install dependencies
run: npm install
- name: Run Linter
run: npm run linter