Skip to content

chore(deps-dev): bump eslint from 8.40.0 to 8.49.0 #446

chore(deps-dev): bump eslint from 8.40.0 to 8.49.0

chore(deps-dev): bump eslint from 8.40.0 to 8.49.0 #446

Workflow file for this run

name: Test
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: dev
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/android/*.gradle', '**/android/*.properties', '**/android/gradle/wrapper/gradle-wrapper.properties', '**/android/app/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache node_modules
uses: actions/cache@v3
id: yarn-cache
with:
path: |
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Gradlew lint
run: |
cd android && chmod +x gradlew
./gradlew lint
- name: Gradlew test
run: |
cd android
./gradlew testDebugUnitTest
- name: ESLint
run: yarn lint
- name: Jest
run: yarn test