Skip to content

Commit

Permalink
feat(service): initialize api and add health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pablojvritx committed Oct 1, 2023
1 parent 86356be commit e264e72
Show file tree
Hide file tree
Showing 23 changed files with 11,239 additions and 4,082 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Node CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
npm install
- name: npm run lint
run: |
npm run lint
- name: npm run build
run: |
npm run build --if-present
- name: npm test
run: |
npm test
14 changes: 14 additions & 0 deletions cucumber.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

const common = [
'--require-module ts-node/register' // Load TypeScript module
];

const apiApp_backend = [
...common,
'tests/apps/apiApp/backend/features/**/*.feature',
'--require tests/apps/apiApp/backend/features/step_definitions/*.steps.ts'
].join(' ');

module.exports = {
apiApp_backend
};
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
cacheDirectory: '.tmp/jestCache'
};
Loading

0 comments on commit e264e72

Please sign in to comment.