Skip to content

chore: settings for semantic release on pipeline #3

chore: settings for semantic release on pipeline

chore: settings for semantic release on pipeline #3

Workflow file for this run

name: Run Tests
on:
push:
branches:
- integration-layer
jobs:
run-tests:
name: Run Tests
runs-on: ubuntu-latest
services:
mongo:
image: mongo:latest
ports:
- 27017:27017
env:
MONGO_INITDB_ROOT_USERNAME: docker
MONGO_INITDB_ROOT_PASSWORD: docker
MONGO_INITDB_DATABASE: order-logistics-api
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run test:e2e
env:
DATABASE_URL: "mongodb://docker:docker@localhost:27017/order-logistics-api?authSource=admin"
NODE_ENV: "test"