Skip to content

Bump pm2 from 5.4.2 to 5.4.3 #76

Bump pm2 from 5.4.2 to 5.4.3

Bump pm2 from 5.4.2 to 5.4.3 #76

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