Skip to content

Commit

Permalink
Merge branch 'main' into version-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell authored Jan 23, 2024
2 parents b999c67 + 20e6340 commit e4caa6b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 25 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Tests in CI
name: Run Build and Tests

on: [push]
on: push

jobs:
test:
name: Run Build and Tests
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- uses: actions/checkout@v2
- name: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: 20.x
- run: npm ci
- run: npm run build
- run: npm test
18 changes: 0 additions & 18 deletions dist/index.js

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cht-user-management",
"version": "1.0.2",
"version": "1.0.4",
"main": "dist/index.js",
"dependencies": {
"@fastify/autoload": "^5.8.0",
Expand Down Expand Up @@ -45,7 +45,7 @@
"build": "npm run cp-package-json && npx tsc",
"start": "node dist/index.js",
"dev": "tsc-watch --onSuccess \"node dist/index.js\"",
"publish": "node dist/publish.js"
"publish": "node scripts/publish.js"
},
"repository": {
"type": "git",
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/routes/add-place.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default async function addPlace(fastify: FastifyInstance) {
logo: Config.getLogoBase64(),
hierarchy: Config.getHierarchyWithReplacement(place.type, 'desc'),
place,
session: req.chtSession,
contactType: place.type,
contactTypes: Config.contactTypes(),
backend: `/place/edit/${id}`,
Expand Down

0 comments on commit e4caa6b

Please sign in to comment.