update CI
This commit is contained in:
@@ -49,15 +49,18 @@ jobs:
|
|||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
- name: ⛏️ Setup EAS local builds
|
- name: ⛏️ Setup EAS local builds
|
||||||
run: yarn global add eas-cli-local-build-plugin
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
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 --frozen-lockfile
|
run: yarn install --immutable
|
||||||
|
|
||||||
- name: 🔤 Compile translations
|
- name: 🔤 Compile translations
|
||||||
run: yarn intl:build 2>&1 | tee i18n.log
|
run: yarn intl:build 2>&1 | tee i18n.log
|
||||||
|
|||||||
@@ -49,10 +49,13 @@ jobs:
|
|||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
- name: ⛏️ Setup EAS local builds
|
- name: ⛏️ Setup EAS local builds
|
||||||
run: yarn global add eas-cli-local-build-plugin
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: ⚙️ Install dependencies
|
- name: ⚙️ Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --immutable
|
||||||
|
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
- uses: maxim-lobanov/setup-xcode@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ jobs:
|
|||||||
|
|
||||||
- name: ⛏️ Setup Expo
|
- name: ⛏️ Setup Expo
|
||||||
if: ${{ !steps.fingerprint.outputs.includes-changes }}
|
if: ${{ !steps.fingerprint.outputs.includes-changes }}
|
||||||
run: yarn global add eas-cli-local-build-plugin
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
- name: 🪛 Setup jq
|
- name: 🪛 Setup jq
|
||||||
if: ${{ !steps.fingerprint.outputs.includes-changes }}
|
if: ${{ !steps.fingerprint.outputs.includes-changes }}
|
||||||
@@ -190,10 +190,13 @@ jobs:
|
|||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
- name: ⛏️ Setup EAS local builds
|
- name: ⛏️ Setup EAS local builds
|
||||||
run: yarn global add eas-cli-local-build-plugin
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
|
- name: 📦 Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: ⚙️ Install dependencies
|
- name: ⚙️ Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --immutable
|
||||||
|
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
- uses: maxim-lobanov/setup-xcode@v1
|
||||||
with:
|
with:
|
||||||
@@ -296,15 +299,18 @@ jobs:
|
|||||||
token: ${{ secrets.EXPO_TOKEN }}
|
token: ${{ secrets.EXPO_TOKEN }}
|
||||||
|
|
||||||
- name: ⛏️ Setup EAS local builds
|
- name: ⛏️ Setup EAS local builds
|
||||||
run: yarn global add eas-cli-local-build-plugin
|
run: npx eas-cli-local-build-plugin@latest
|
||||||
|
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
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 --frozen-lockfile
|
run: yarn install --immutable
|
||||||
|
|
||||||
- name: 🔤 Compile translations
|
- name: 🔤 Compile translations
|
||||||
run: yarn intl:build
|
run: yarn intl:build
|
||||||
|
|||||||
@@ -21,10 +21,12 @@ jobs:
|
|||||||
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:
|
||||||
command: yarn --frozen-lockfile
|
command: yarn install --immutable
|
||||||
attempt_limit: 3
|
attempt_limit: 3
|
||||||
attempt_delay: 2000
|
attempt_delay: 2000
|
||||||
- name: Lint check
|
- name: Lint check
|
||||||
@@ -48,10 +50,12 @@ jobs:
|
|||||||
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:
|
||||||
command: yarn --frozen-lockfile
|
command: yarn install --immutable
|
||||||
attempt_limit: 3
|
attempt_limit: 3
|
||||||
attempt_delay: 2000
|
attempt_delay: 2000
|
||||||
- name: Check & compile i18n
|
- name: Check & compile i18n
|
||||||
|
|||||||
@@ -34,6 +34,9 @@ jobs:
|
|||||||
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 }}
|
||||||
|
|||||||
@@ -26,6 +26,9 @@ jobs:
|
|||||||
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 }}
|
||||||
@@ -35,7 +38,7 @@ jobs:
|
|||||||
uses: Wandalen/wretry.action@master
|
uses: Wandalen/wretry.action@master
|
||||||
with:
|
with:
|
||||||
# Fine to skip scripts since we don't run any code
|
# Fine to skip scripts since we don't run any code
|
||||||
command: yarn install --ignore-scripts
|
command: yarn install --skip-builds
|
||||||
attempt_limit: 3
|
attempt_limit: 3
|
||||||
attempt_delay: 2000
|
attempt_delay: 2000
|
||||||
|
|
||||||
|
|||||||
+6
-1
@@ -126,4 +126,9 @@ bskyweb/static/media/*.jpg
|
|||||||
bskyweb/static/media/*.png
|
bskyweb/static/media/*.png
|
||||||
bskyweb/static/media/*.svg
|
bskyweb/static/media/*.svg
|
||||||
|
|
||||||
.yarn
|
# Yarn Berry
|
||||||
|
.yarn/*
|
||||||
|
!.yarn/patches
|
||||||
|
!.yarn/plugins
|
||||||
|
!.yarn/releases
|
||||||
|
.pnp.*
|
||||||
|
|||||||
Reference in New Issue
Block a user