Skip to content

add workflow to validate address-service #1

add workflow to validate address-service

add workflow to validate address-service #1

name: validate address-service
on:
push:
branches:
- "*"
# paths:
# - "address-service/src/**/*.js"
# - "address-service/package*.json"
workflow_dispatch:
env:
NODE_VERSION: "12"
defaults:
run:
working-directory: ./address-service
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@main
with:
node-version: ${NODE_VERSION}
- name: Install dependencies
run: npm ci
- name: Unit tests w/ coverage
run: npm run test:coverage
- name: LINTing
run: npm run test:lint
# - name: OpenAPI Schema
# run: npm run test:schema
- name: Build step
run: npm run build