Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ ignores:
- 'eslint-plugin-react-native'
- 'execa'
- 'fbjs-scripts'
- 'improved-yarn-audit'
- 'jetifier'
- 'metro-react-native-babel-preset'
- 'octonode'
Expand Down Expand Up @@ -85,10 +84,9 @@ ignores:
- 'app'
- 'i18n-js'
- 'images'

## Expo
- '@config-plugins/detox'
- 'cross-spawn'
- 'expo-build-properties'
- 'expo-dev-client'

2 changes: 1 addition & 1 deletion .github/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ts-node": "^10.5.0",
"typescript": "~5.4.5"
},
"packageManager": "yarn@1.22.22",
"packageManager": "yarn@3.8.7",
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/add-release-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 0 # This is needed to checkout all branches

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/bitrise-e2e-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Enable Corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-template-and-add-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 1 # This retrieves only the latest commit.

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -34,6 +36,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -52,6 +56,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -71,6 +77,8 @@ jobs:
- test:tgz-check
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -93,6 +101,8 @@ jobs:
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -126,6 +136,8 @@ jobs:
needs: unit-tests
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -159,6 +171,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -202,6 +216,8 @@ jobs:
needs: merge-unit-tests
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 0 # SonarCloud needs a full checkout to perform necessary analysis
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -243,6 +259,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
- name: SonarCloud Quality Gate Status
id: sonar-status
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/close-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 1 # This retrieves only the latest commit.

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create-cherry-pick-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 0
ref: ${{ vars.branch_name }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
ref: ${{ github.ref }} # Explicitly specifies the tag ref

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
# This is to guarantee that the most recent tag is fetched.
# This can be configured to a more reasonable value by consumers.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/crowdin-branch-pr-ready-for-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

- name: Checkout
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
ref: main

Expand All @@ -43,6 +45,8 @@ jobs:

- name: Checkout Branch and push to crowdin
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
ref: ${{ steps.extract_current_branch.outputs.branch }}
- name: Crowdin sources push
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Enable Corepack
run: corepack enable
- name: Get Branches with Label
id: get-branches
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/crowdin-reusable-translation-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
ref: ${{ inputs.branch }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
id: extract_current_branch
- name: Checkout
uses: actions/checkout@v3

- name: Enable Corepack
run: corepack enable
- name: Crowdin push
uses: crowdin/github-action@c953b17499daa6be3e5afbf7a63616fb02d8b18d
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/crowdin_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:

- name: Checkout
uses: actions/checkout@v3

- name: Enable Corepack
run: corepack enable
- name: crowdin action
uses: crowdin/github-action@a3160b9e5a9e00739392c23da5e580c6cabe526d
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3

- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable

- name: Build and load
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fitness-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 0

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run-bitrise-e2e-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Enable Corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-latest-build-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Enable Corepack
run: corepack enable
with:
fetch-depth: 0
ref: ${{ inputs.base-branch }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,6 @@ expo-env.d.ts

# CICD
github-tools/

# Yarn
.yarn/*
Empty file removed .iyarc
Empty file.
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

9 changes: 9 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
enableScripts: false
nodeLinker: node-modules
npmAuditIgnoreAdvisories: [
### Advisories:
# Issue: Regular Expression Denial of Service (ReDoS) in cross-spawn
# URL - https://github.com/advisories/GHSA-3xgq-45jj-v275
# The affected versions <6.0.6, is only present in wdio which is a dev dependency
1100562,
]
2 changes: 1 addition & 1 deletion bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,7 @@ app:
NODE_VERSION: 20.18.0
- opts:
is_expand: false
YARN_VERSION: 1.22.22
YARN_VERSION: 3.8.7
- opts:
is_expand: false
COREPACK_VERSION: 0.28.0
Expand Down
Loading