-
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.
Optimize CI and update docs for context fetch
Refined CI workflow by correcting npm cache permissions, ensuring smooth dependency installation, and removing redundant Node.js update step to enhance build speed and reliability. Furthermore, augmented documentation in the UI component to clarify the retrieval and expected presence of the Resources widget within the EthicalScannerApp context, enforcing the widget's availability and preventing runtime errors.
- Loading branch information
Showing
2 changed files
with
20 additions
and
6 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 |
---|---|---|
|
@@ -53,6 +53,19 @@ jobs: | |
needs: [ build_apk ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fix npm cache permissions | ||
run: sudo chown -R 65534:0 "/root/.npm" | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v1 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '12' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
- uses: actions/checkout@v1 | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
|
@@ -63,11 +76,6 @@ jobs: | |
with: | ||
name: apk-build | ||
|
||
- name: Update Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
|
||
- name: Upload APK | ||
uses: wzieba/[email protected] | ||
with: | ||
|
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