Skip to content

Tool improvements & cleanup #232

Tool improvements & cleanup

Tool improvements & cleanup #232

Workflow file for this run

name: tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Create environment.ts file
run: |
touch src/environments/environment.prod.ts && echo "${{ secrets.ENV_PROD }}" >> src/environments/environment.prod.ts
touch src/environments/environment.ts && echo "${{ secrets.ENV_PROD }}" >> src/environments/environment.ts
- name: Run Tests
run: npm test -- --no-watch --browsers=ChromeHeadless --code-coverage