Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
pull_request:

permissions:
contents: read

jobs:
lint-and-create-data:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Run lint
run: npm run lint

- name: Run create-data
run: npm run create-data
2 changes: 1 addition & 1 deletion app/models/patient.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class Patient extends Child {
)
}

let move;
let move
if (this.context.moves) {
move = Move.findAll(this.context).find(
(move) => move.patient_uuid === this.uuid
Expand Down