Skip to content

Commit

Permalink
Update Firebase Deployment to Allow Specifying a Node Version (#78)
Browse files Browse the repository at this point in the history
# Update Firebase Deployment to Allow Specifying a Node Version

## ♻️ Current situation & Problem
- There is no way to configure the node version for the firebase
deployment


## ⚙️ Release Notes 
- Update Firebase Deployment to Allow Specifying a Node Version

### Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).

Signed-off-by: Paul Schmiedmayer <[email protected]>
  • Loading branch information
PSchmiedmayer authored Jun 25, 2024
1 parent 46fd6e7 commit c548db2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/firebase-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ name: Test using xcodebuild or run fastlane
on:
workflow_call:
inputs:
nodeVersion:
description: |
Node version spec of the version to use in SemVer notation.
required: false
type: string
default: '20'
path:
description: |
The path where the project is located. Defaults to $GITHUB_WORKSPACE.
Expand Down Expand Up @@ -58,10 +64,12 @@ jobs:
echo "env.selfhosted: ${{ env.selfhosted }}"
echo "environment: ${{ inputs.environment }}"
- uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.nodeVersion }}
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
Expand Down

0 comments on commit c548db2

Please sign in to comment.