Skip to content

Merge pull request #390 from oss-slu/code-metadata-1VD2B #445

Merge pull request #390 from oss-slu/code-metadata-1VD2B

Merge pull request #390 from oss-slu/code-metadata-1VD2B #445

Workflow file for this run

# Added Jest testing step for foundational CI/CD improvement
name: Lint and Test JavaScript
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Install backend dependencies
run: npm install --prefix boneset-api
- name: Run ESLint
run: npm run lint
- name: Run Jest Tests
run: npm test