forked from JaneaSystems/nodejs-mobile-cordova
-
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.
plugin: fix to work with cordova@10.0.0 (JaneaSystems#13)
* Patched to work with cordova-android@9.0.0 JaneaSystems/nodejs-mobile#239 (comment) * Patched to work with cordova-android@9.0.0 JaneaSystems/nodejs-mobile#239 (comment) * Updated build.gradle * Removed copy-build-extras-gradle hook * Delete build-extras.gradle * Delete copy-build-extras-gradle.js * Create build-apk.yaml * Fixed a typo * Delete build-apk.yaml * Added "Build Android Project" test * Added "Build IOS Project" test * Update package.json * Update build-ios.yaml * Tabs..
- Loading branch information
Showing
5 changed files
with
81 additions
and
8 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,37 @@ | ||
name: Build Android Project | ||
on: | ||
push: | ||
branches: [ unstable ] | ||
pull_request: | ||
branches: [ unstable ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v2 | ||
- name: Installing JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '8' | ||
- name: Installing Cordova! | ||
run: | | ||
sudo npm i cordova@10.0.0 -g | ||
- name: Installing the npm dependencies! | ||
run: | | ||
cd testapp | ||
npm i | ||
- name: Copying nodejs-mobile-cordova plugin | ||
run: | | ||
cd testapp | ||
npm run copy-module | ||
- name: Preparing the Android project! | ||
run: | | ||
cd testapp | ||
cordova prepare android | ||
- name: Building the Android project! | ||
run: | | ||
cd testapp | ||
cordova build android |
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,32 @@ | ||
name: Build IOS Project | ||
on: | ||
push: | ||
branches: [ unstable ] | ||
pull_request: | ||
branches: [ unstable ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v2 | ||
- name: Installing Cordova! | ||
run: | | ||
sudo npm i cordova@10.0.0 -g | ||
- name: Installing the npm dependencies! | ||
run: | | ||
cd testapp | ||
npm i | ||
- name: Copying nodejs-mobile-cordova plugin | ||
run: | | ||
cd testapp | ||
npm run copy-module | ||
- name: Preparing the IOS project! | ||
run: | | ||
cd testapp | ||
cordova prepare ios | ||
- name: Building the ISO project! | ||
run: | | ||
cd testapp | ||
cordova build ios |
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