NTP-13165: Package installer fix, moving to Yarn (#14206)
This commit is contained in:
6
.github/workflows/android_checkstyle.yml
vendored
6
.github/workflows/android_checkstyle.yml
vendored
@@ -24,8 +24,12 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.18.0
|
||||
- name: Clean NPM Modules
|
||||
run: npm cache clean --force
|
||||
- name: Install yarn
|
||||
run: npm install --global yarn
|
||||
- name: Install Node Modules
|
||||
run: npm install
|
||||
run: yarn install
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
|
||||
6
.github/workflows/generate_build.yml
vendored
6
.github/workflows/generate_build.yml
vendored
@@ -74,8 +74,12 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.18.0
|
||||
- name: Clean NPM Modules
|
||||
run: npm cache clean --force
|
||||
- name: Install yarn
|
||||
run: npm install --global yarn
|
||||
- name: Install Node Modules
|
||||
run: npm install
|
||||
run: yarn install
|
||||
- name: Override Version Code
|
||||
if: github.event_name == 'workflow_dispatch' && inputs.version_code != ''
|
||||
run: sed -i 's/def VERSION_CODE = [0-9].*/def VERSION_CODE = ${{ inputs.version_code }}/g' app/build.gradle
|
||||
|
||||
6
.github/workflows/macrobenchmark.yml
vendored
6
.github/workflows/macrobenchmark.yml
vendored
@@ -23,8 +23,12 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.18.0
|
||||
- name: Clean NPM Modules
|
||||
run: npm cache clean --force
|
||||
- name: Install yarn
|
||||
run: npm install --global yarn
|
||||
- name: Install Node Modules
|
||||
run: npm install
|
||||
run: yarn install
|
||||
- name: Log Build Metadata
|
||||
run: |
|
||||
echo "Version Code: $(awk '/VERSION_CODE/ {print $4}' app/build.gradle)"
|
||||
|
||||
Reference in New Issue
Block a user