Skip to content

Merge pull request #12 from Menardi/android-9-safe-area #30

Merge pull request #12 from Menardi/android-9-safe-area

Merge pull request #12 from Menardi/android-9-safe-area #30

Workflow file for this run

name: Validation
on:
push:
paths-ignore:
- '**/*.md'
branches:
- main
pull_request:
jobs:
lint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn lint
verify-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn verify:web
verify-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Optional security step: Validate whether gradle-wrapper.jar is valid or malicious
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
generate-job-summary: false
- run: yarn install --frozen-lockfile
- run: yarn verify:android
verify-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn verify:ios