Skip to content

Bump mocha from 10.5.2 to 10.6.0 #53

Bump mocha from 10.5.2 to 10.6.0

Bump mocha from 10.5.2 to 10.6.0 #53

Workflow file for this run

name: "Tests"
on:
push:
paths:
- "lib/**"
- "server/**"
- "test/**"
- ".github/workflows/tests.yml"
- "package.json"
- "package-lock.json"
pull_request:
paths:
- "lib/**"
- "server/**"
- "test/**"
- ".github/workflows/tests.yml"
- "package.json"
- "package-lock.json"
jobs:
build:
name: "Run tests"
runs-on: ubuntu-latest
steps:
- name: "Checkout the repository"
uses: actions/checkout@v4
- name: "Set up Node 18"
uses: actions/setup-node@v4
with:
node-version: 18
- name: "Install Node dependencies"
run: |
npm install
- name: "Start the test server"
run: |
npx pm2 start -f test/env/test-server.js --name=obsidian-proxy-server &
- name: "Run lint"
run: |
npm run lint
- name: "Run tests"
run: |
npm run test
- name: "Stop the test server"
run: |
npx pm2 kill