App Release 1.2.0 (Android) #1
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: App Testsuite | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: 'App Lint' | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: install node modules | |
run: cd app && npm i --legacy-peer-deps --force | |
- name: run standard js | |
run: cd app && npm run lint | |
tests: | |
name: 'App Unit Tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: install node modules | |
run: cd app && npm ci --legacy-peer-deps --force | |
- name: run jest tests | |
run: cd app && npm test | |
docs: | |
name: 'Build App jsDoc' | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: 'package-lock.json' | |
- name: install node modules | |
run: cd app && npm i --legacy-peer-deps --force | |
- name: run jsdoc | |
run: cd app && npm run docs |