Skip to content

ci: Implement lint workflow job #2

ci: Implement lint workflow job

ci: Implement lint workflow job #2

Workflow file for this run

name: Mocha Testing
on: ["push", "pull_request", "workflow_dispatch"]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v6.3.0
with:
cache: npm
- name: Install npm packages
run: npm install
- name: Run Linting
run: npm run lint
run-tests:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v6.3.0
with:
cache: npm
- name: Install npm packages
run: npm install
- name: Run Mocha Tests
run: npm test