Skip to content

Trib 104

Trib 104 #265

Workflow file for this run

name: tribeapp-frontend-ci
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install -g @ionic/cli
- run: npm install -g @angular/cli
- run: npm install
- run: cp src/app/_environments/environment.dev.ts src/app/_environments/environment.ts
- run: ng test --no-watch --no-progress --code-coverage --browsers ChromeHeadless
- uses: actions/upload-artifact@v2
with:
name: coverage-report
path: coverage
# cypress-run:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# Copy environment.dev.ts to environment.ts
# - name: Copy environment.dev.ts
# run: cp ./src/app/_environments/environment.dev.ts ./src/app/_environments/environment.ts
# steps:
# - name: Cypress run
# uses: cypress-io/github-action@v5
# with:
# build: npm run build
# start: npm start