Skip to content

Commit

Permalink
adding bun setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryiguchi committed Jan 16, 2024
1 parent 5476f43 commit 91d77b0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/eas-build-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,18 @@ on:
pnpm_version:
required: false
type: string
default: "8"
default: '8'

Check failure on line 58 in .github/workflows/eas-build-local.yml

View workflow job for this annotation

GitHub Actions / test / lint / lint

Strings must use doublequote
description: If using pnpm - which version to use
google_service_account_key_path:
required: false
type: string
default: ./google-service-account-key.json
description: The path to the google-service-account-key.json file
bun_version:
required: false
type: string
default: 'latest'

Check failure on line 68 in .github/workflows/eas-build-local.yml

View workflow job for this annotation

GitHub Actions / test / lint / lint

Must use plain style scalar

Check failure on line 68 in .github/workflows/eas-build-local.yml

View workflow job for this annotation

GitHub Actions / test / lint / lint

Strings must use doublequote
description: Set bun version
secrets:
EXPO_TOKEN:
description: The Expo token to use for publishing
Expand Down Expand Up @@ -103,6 +108,8 @@ jobs:

- uses: oven-sh/setup-bun@v1
if: ${{ inputs.package_manager == 'bun' }}
with:
bun-version: ${{ inputs.bun_version }}

- uses: actions/setup-node@v3
if: ${{ inputs.package_manager != 'bun' }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/eas-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ on:
pnpm_version:
required: false
type: string
default: "8"
default: '8'

Check failure on line 63 in .github/workflows/eas-build.yml

View workflow job for this annotation

GitHub Actions / test / lint / lint

Strings must use doublequote
description: If using pnpm - which version to use
nodeModulePaths:
required: false
Expand All @@ -72,6 +72,11 @@ on:
type: string
default: ./google-service-account-key.json
description: The path to the google-service-account-key.json file
bun_version:
required: false
type: string
default: 'latest'

Check failure on line 78 in .github/workflows/eas-build.yml

View workflow job for this annotation

GitHub Actions / test / lint / lint

Must use plain style scalar

Check failure on line 78 in .github/workflows/eas-build.yml

View workflow job for this annotation

GitHub Actions / test / lint / lint

Strings must use doublequote
description: Set bun version
secrets:
EXPO_TOKEN:
description: The Expo token to use for publishing
Expand Down Expand Up @@ -116,6 +121,8 @@ jobs:

- uses: oven-sh/setup-bun@v1
if: ${{ inputs.package_manager == 'bun' }}
with:
bun-version: ${{ inputs.bun_version }}

- uses: actions/setup-node@v3
if: ${{ inputs.package_manager != 'bun' }}
Expand Down

0 comments on commit 91d77b0

Please sign in to comment.