Skip to content

Commit

Permalink
add workflow to validate address-service
Browse files Browse the repository at this point in the history
  • Loading branch information
skylermcnamee-hibc committed Nov 7, 2024
1 parent fbe42df commit 6119ad9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/validate-address-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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

0 comments on commit 6119ad9

Please sign in to comment.