Merge pull request #160 from CodericBusiness/dependabot/npm_and_yarn/… #175
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
name: Testing | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: 'npm' | |
- name: Install Ionic | |
run: npm install -g @ionic/cli @angular/cli | |
- name: Install app dependencies | |
run: npm install | |
- name: test ci | |
run: npm ci | |
- name: test ng | |
run: ng test --no-watch --no-progress --browsers=ChromeHeadless |