Skip to content

feat: add cart controller and tests #46

feat: add cart controller and tests

feat: add cart controller and tests #46

Workflow file for this run

name: Customer-CI
on:
push:
branches: ['*']
paths:
- 'apps/customer/**'
- '.github/workflows/customer-ci.yml'
env:
SERVICE: customer
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test $SERVICE
- run: npm run test:e2e $SERVICE
- run: npm run build $SERVICE