move codepack enable
This commit is contained in:
@@ -32,6 +32,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -56,9 +59,6 @@ jobs:
|
|||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
|
|
||||||
- name: ⚙️ Install dependencies
|
- name: ⚙️ Install dependencies
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -51,9 +54,6 @@ jobs:
|
|||||||
- name: ⛏️ Setup EAS local builds
|
- name: ⛏️ Setup EAS local builds
|
||||||
run: npx eas-cli-local-build-plugin@latest
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
|
|
||||||
- name: ⚙️ Install dependencies
|
- name: ⚙️ Install dependencies
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,9 @@ jobs:
|
|||||||
if: ${{ github.ref != 'refs/heads/main' }}
|
if: ${{ github.ref != 'refs/heads/main' }}
|
||||||
run: git fetch origin main:main --depth 100
|
run: git fetch origin main:main --depth 100
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -176,6 +179,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -192,9 +198,6 @@ jobs:
|
|||||||
- name: ⛏️ Setup EAS local builds
|
- name: ⛏️ Setup EAS local builds
|
||||||
run: npx eas-cli-local-build-plugin@latest
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
|
|
||||||
- name: ⚙️ Install dependencies
|
- name: ⚙️ Install dependencies
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
|
||||||
@@ -285,6 +288,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 5
|
fetch-depth: 5
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -306,9 +312,6 @@ jobs:
|
|||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
|
|
||||||
- name: ⚙️ Install dependencies
|
- name: ⚙️ Install dependencies
|
||||||
run: yarn install --immutable
|
run: yarn install --immutable
|
||||||
|
|
||||||
|
|||||||
@@ -16,13 +16,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
- name: Install node
|
- name: Install node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
- name: Yarn install
|
- name: Yarn install
|
||||||
uses: Wandalen/wretry.action@master
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
@@ -45,13 +45,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
- name: Install node
|
- name: Install node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
- name: Yarn install
|
- name: Yarn install
|
||||||
uses: Wandalen/wretry.action@master
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -117,6 +117,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ steps.pr-info.outputs.head-sha }}
|
ref: ${{ steps.pr-info.outputs.head-sha }}
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
@@ -124,7 +127,7 @@ jobs:
|
|||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --immutable
|
||||||
|
|
||||||
- name: Lint check
|
- name: Lint check
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
@@ -149,7 +152,7 @@ jobs:
|
|||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
- name: ⛏️ Setup Expo
|
- name: ⛏️ Setup Expo
|
||||||
run: yarn global add eas-cli-local-build-plugin
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
- name: 🪛 Setup jq
|
- name: 🪛 Setup jq
|
||||||
uses: dcarbone/install-jq-action@v2
|
uses: dcarbone/install-jq-action@v2
|
||||||
|
|||||||
@@ -28,15 +28,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
|
|
||||||
- name: Ensure tracking relevant branches and checkout base
|
- name: Ensure tracking relevant branches and checkout base
|
||||||
env:
|
env:
|
||||||
HEAD_REF: ${{ github.head_ref }}
|
HEAD_REF: ${{ github.head_ref }}
|
||||||
@@ -124,6 +124,9 @@ jobs:
|
|||||||
run: git fetch origin main:main --depth 100
|
run: git fetch origin main:main --depth 100
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: 🔧 Setup Node
|
- name: 🔧 Setup Node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -21,14 +21,14 @@ jobs:
|
|||||||
BASE_REF: ${{ github.base_ref }}
|
BASE_REF: ${{ github.base_ref }}
|
||||||
run: git fetch origin $BASE_REF --depth=1
|
run: git fetch origin $BASE_REF --depth=1
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: Install node
|
- name: Install node
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
|
|
||||||
- name: 📦 Enable Corepack
|
|
||||||
run: corepack enable
|
|
||||||
|
|
||||||
- name: Reset yarn.lock to base
|
- name: Reset yarn.lock to base
|
||||||
env:
|
env:
|
||||||
BASE_REF: ${{ github.base_ref }}
|
BASE_REF: ${{ github.base_ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user