Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmsi-io/gha-mobile-test
Test and lint mobile apps
https://github.com/dmsi-io/gha-mobile-test
action github-actions linting typescript unit-testing
Last synced: 22 days ago
JSON representation
Test and lint mobile apps
- Host: GitHub
- URL: https://github.com/dmsi-io/gha-mobile-test
- Owner: dmsi-io
- Created: 2021-12-18T22:27:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T16:22:48.000Z (12 months ago)
- Last Synced: 2024-10-02T06:43:32.163Z (about 1 month ago)
- Topics: action, github-actions, linting, typescript, unit-testing
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# GHA Mobile Test
[![release][release-badge]][release]
The purpose of this GitHub Action is to automate the testing of mobile apps.
**NOTE:** This action expects that the repo will have been checked out prior to running the action.
## Usage
```yaml
name: Test-Lintpull_request:
types: [opened, synchronize, reopened]jobs:
test:
name: Type-Check, Test, and Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Test App
uses: dmsi-io/gha-mobile-test@main
```## Inputs
| NAME | DESCRIPTION | TYPE | REQUIRED | DEFAULT |
|--------------------|--------------------------------------------------------------------------------------------------------------------------|-----------|----------|---------|
| `typescript` | Allows enabling/disabling the TypeScript type checker (runs without emitting). Expects `yarn tsc` to be a valid command. | `boolean` | `false` | `true` |
| `test` | Allows enabling/disabling unit test. Expects `yarn test` to be a valid command. | `boolean` | `false` | `true` |
| `lint` | Allows enabling/disabling the linter. Expects `yarn lint` to be a valid command. | `string` | `false` | `true` |
| `changelog` | Checks for a valid entry to the changelog | `boolean` | `false` | `false` |
| `GHA_ACCESS_TOKEN` | The GitHub access token to use for authentication. | `string` | `false` | `''` |
| `GHA_ACCESS_USER` | The GitHub access user to use for authentication. | `string` | `false` | `''` |
| `JIRA_BASE_URL` | The Jira base URL used for creating links to Jira issues. | `string` | `false` | `''` |[release]: https://github.com/dmsi-io/gha-mobile-test/releases
[release-badge]: https://img.shields.io/github/v/release/dmsi-io/gha-mobile-test?style=for-the-badge&logo=github