Skip to content

test: added tests for analytics components #218

test: added tests for analytics components

test: added tests for analytics components #218

Workflow file for this run

name: Build Status
on:
push:
branches: ['dev']
pull_request:
branches: ['dev']
env:
BACKEND_URL: ${{secrets.BACKEND_URL}}
DATA_MANAGEMENT_LAYER_URL: ${{secrets.DATA_MANAGEMENT_LAYER_URL}}
NEXT_PUBLIC_BACKEND_URL: ${{secrets.NEXT_PUBLIC_BACKEND_URL}}
NEXT_PUBLIC_DATA_MANAGEMENT_LAYER_URL: ${{secrets.NEXT_PUBLIC_DATA_MANAGEMENT_LAYER_URL}}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.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'
- run: npm ci --force
# - name: Run linting
# run: npm run lint --if-present
# - name: Run type checking
# run: npm run type-check --if-present
- name: Run tests
run: npm test --if-present
- name: Run build
run: npm run build --if-present