Third fix for language file #180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Lint/Test | |
on: | |
push: | |
branches: [ 'nana-dev', 'dev' ] | |
jobs: | |
# Test job to test Angular app | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: npm install | |
#- name: Run tests | |
# run: npm run test:ci | |
#- name: Code Coverage Report | |
# uses: irongut/[email protected] | |
# with: | |
# filename: coverage/**/coverage.cobertura.xml | |
# badge: true | |
# fail_below_min: false | |
# format: markdown | |
# hide_branch_rate: false | |
# hide_complexity: true | |
# indicators: true | |
# output: both | |
# thresholds: '60 80' | |
# Build job to build Angular app | |
build: | |
needs: [ test ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "20.x" | |
- name: Install dependencies | |
run: npm install | |
- name: Build Angular app | |
run: npm run build |