Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Quickfix struct update, map data endpoint in progress. #174

Quickfix struct update, map data endpoint in progress.

Quickfix struct update, map data endpoint in progress. #174

Workflow file for this run

name: APP Unit tests
on:
push:
pull_request:
branches:
- main
- dev
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install Dependencies
working-directory: ./app/WhereIsThePower
run: npm install --frozen-lock
- name: Update env
uses: cschleiden/replace-tokens@v1.2
with:
tokenPrefix: '{'
tokenSuffix: '}'
files: ./app/WhereIsThePower/src/environments/environment.ts
env:
MapboxApiKey: ${{ secrets.TEST_SECRET }}
- name: Run Tests
working-directory: ./app/WhereIsThePower
run: npm run test