Skip to content

feat(test): add user service test #133

feat(test): add user service test

feat(test): add user service test #133

Workflow file for this run

name: angular CI
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
working-directory: .
run: npm ci
- name: Build project
working-directory: .
run: npm run build --if-present
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: test in container
run: docker build -t node-docker-image-test --no-cache --target test .
# - name: Run tests
# working-directory: phase11
# run: npm test
# - name: Upload coverage reports (optional)
# uses: actions/upload-artifact@v3
# with:
# name: coverage-reports
# path: /path