Skip to content

Commit

Permalink
feat(.github/workflows): upgrade node to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
olgahaha committed Apr 3, 2024
1 parent 540347e commit 5d5ed65
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/firebase-release.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: firebase-release

on:
push:
tags:
- 'firebase-*'
pull_request:
branches: [master]

jobs:
distribute-android:
runs-on: ubuntu-latest
timeout-minutes: 120

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16.15.0'
node-version: '20.11.1'

- name: Setup firebase
run: |
Expand All @@ -34,7 +33,7 @@ jobs:
run: |
npm run preconfig.npmrc
npm install -g @ionic/cli
npm install
npm install --legacy-peer-deps
npm run build
- name: Set up JDK 17
Expand Down Expand Up @@ -73,11 +72,11 @@ jobs:
timeout-minutes: 120

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: '16.15.0'
node-version: '20.11.1'

- name: Setup firebase
run: |
Expand All @@ -96,7 +95,7 @@ jobs:
run: |
npm run preconfig.npmrc
npm install -g @ionic/cli
npm install
npm install --legacy-peer-deps
npm run build
- name: Import the Code-Signing PKCS12 Certificate
Expand Down Expand Up @@ -126,7 +125,7 @@ jobs:
run: |
npx cap sync ios
sed -i '' "s/NumbersAppDistributionV6/${PROVISIONING_PROFILE}/g" ios/App/ExportOptions.plist
sed -i '' 's/app-store/ad-hoc/g' ios/App/ExportOptions.plist
sed -i '' 's/app-store/release-testing/g' ios/App/ExportOptions.plist
xcodebuild archive -workspace ios/App/App.xcworkspace -scheme App -sdk iphoneos -configuration Release -archivePath build/App.xcarchive -showBuildTimingSummary CURRENT_PROJECT_VERSION=${{ steps.current-time.outputs.formattedTime }} PROVISIONING_PROFILE_SPECIFIER=${PROVISIONING_PROFILE} -allowProvisioningUpdates
- name: Export IPA from Xcode Archive
Expand Down
2 changes: 1 addition & 1 deletion ios/App/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 617daf5c0347d391c6f083d98e214c77113572c6

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2

0 comments on commit 5d5ed65

Please sign in to comment.