Skip to content

[PPI-993] Fix NGX_PIWIK_PRO_SETTINGS_TOKEN import in tests #37

[PPI-993] Fix NGX_PIWIK_PRO_SETTINGS_TOKEN import in tests

[PPI-993] Fix NGX_PIWIK_PRO_SETTINGS_TOKEN import in tests #37

Workflow file for this run

name: Build and Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- master
jobs:
run-tests:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: 'Cache node Modules'
uses: actions/cache@v1
with:
path: ~.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build Angular Library
run: npm run build
- name: Running Tests
run: npm run test