Skip to content

Commit

Permalink
add node linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ncorriveau committed Jun 13, 2024
1 parent 9393b01 commit ae904f0
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,24 @@ on:
- main

jobs:
hello_world_job:
runs-on: ubuntu-20.04
lint-node:
name: Lint Node.js Code
runs-on: ubuntu-latest

steps:
- name: Say hello
run: |
echo "Hello World!"
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.7.0'

- name: Install dependencies
run: npm install

- name: Run ESLint
run: npm run lint

- name: Run Prettier
run: npm run prettier-check

0 comments on commit ae904f0

Please sign in to comment.