forked from margelo/react-native-quick-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
54 additions
and
209 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ on: | |
- main | ||
paths: | ||
- '.github/workflows/validate-android.yml' | ||
- 'android/**' | ||
- 'packages/react-native-quick-crypto/android/**' | ||
- '.editorconfig' | ||
pull_request: | ||
paths: | ||
- '.github/workflows/validate-android.yml' | ||
- 'android/**' | ||
- 'packages/react-native-quick-crypto/android/**' | ||
- '.editorconfig' | ||
|
||
jobs: | ||
|
@@ -20,10 +20,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./android | ||
working-directory: packages/react-native-quick-crypto/android | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: 1.1.21 | ||
|
||
- name: Setup JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
|
@@ -34,27 +38,9 @@ jobs: | |
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: corepack enable | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Restore node_modules from cache | ||
uses: actions/cache@v4 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install node_modules | ||
run: yarn install --frozen-lockfile --cwd .. | ||
- name: Install node_modules for example/ | ||
run: yarn install --frozen-lockfile --cwd ../example | ||
- name: Bootstrap JS | ||
run: | | ||
bun install_tsc | ||
- name: Restore Gradle cache | ||
uses: actions/cache@v4 | ||
|
@@ -67,19 +53,11 @@ jobs: | |
${{ runner.os }}-gradle- | ||
- name: Run Gradle Lint | ||
run: cd ../example/android && ./gradlew lint | ||
run: cd ../../example/android && ./gradlew lint | ||
|
||
- name: Parse Gradle Lint Report | ||
uses: yutailang0119/action-android-lint@v4 | ||
with: | ||
# ignore-warnings: true | ||
report-path: example/android/app/build/reports/*.xml | ||
# ktlint: | ||
# name: Kotlin Lint | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Run KTLint | ||
# uses: mrousavy/[email protected] | ||
# with: | ||
# github_token: ${{ secrets.github_token }} | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"extends": "@react-native/typescript-config/tsconfig.json", | ||
// "compilerOptions": { | ||
// "module": "esnext", | ||
// }, | ||
} |
Oops, something went wrong.