Skip to content

feat:add matomo

feat:add matomo #551

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
env:
PUBLIC_API_URL: "https://mj-cms.jcloud-ver-jpe.ik-server.com"
SENDINBLUE_API_KEY: "" # Keep this variable empty.
PUBLIC_MATOMO_CDN_URL: "" # Keep this variable empty.
PUBLIC_MATOMO_URL: "" # Keep this variable empty.
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.17
cache: "npm"
cache-dependency-path: package-lock.json
- name: "Install dependencies"
run: npm ci
- name: "Build"
run: npm run build
- name: "Run checks"
run: npm run check
- name: "Run tests"
run: npm run test:unit
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: playwright-results
path: test-results