-
Notifications
You must be signed in to change notification settings - Fork 3
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
22 changed files
with
1,050 additions
and
900 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Prepare PowerAuth JS environment | ||
|
||
inputs: | ||
env-file: | ||
description: Contents of the testapp/.env file | ||
required: false | ||
default: "empty" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Use Node.js 22 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
- name: Install dependencies | ||
shell: bash | ||
run: npm i | ||
- name: Set .env file | ||
shell: bash | ||
run: echo -e "${{ inputs.env-file }}" > testapp/.env |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- release/* | ||
pull_request: | ||
|
||
jobs: | ||
build-library: | ||
name: Build and Pack the Library | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v4 | ||
- name: Prepare environment | ||
uses: ./.github/actions/prepare | ||
- name: Library build | ||
run: npm run build |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: iOS Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- release/* | ||
pull_request: | ||
|
||
jobs: | ||
test-cordova: | ||
name: Test Cordova iOS | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v4 | ||
- name: Prepare environment | ||
uses: ./.github/actions/prepare | ||
with: | ||
env-file: ${{ secrets.ENV_TEST_FILE }} | ||
- name: Run Cordova iOS Tests | ||
run: npm run buildAndRunCordovaIosTests | ||
test-react-native: | ||
name: Test React Native iOS | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v4 | ||
- name: Prepare environment | ||
uses: ./.github/actions/prepare | ||
with: | ||
env-file: ${{ secrets.ENV_TEST_FILE }} | ||
- name: Run React-Native iOS Tests | ||
run: npm run buildAndRunReactIosTests |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.