Skip to content

Commit

Permalink
[MABL-9239] Update to node18
Browse files Browse the repository at this point in the history
  • Loading branch information
terryknowlton committed May 19, 2023
1 parent 6f1fbfa commit f6c7775
Show file tree
Hide file tree
Showing 4 changed files with 360 additions and 166 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-maybe-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14.x' # Build on target deploy version
node-version: '.nvmrc' # Build on target deploy version

# Use caching to speed reload
- uses: actions/cache@v2
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
GIT_SHA=${{ github.sha }}
GIT_SHA_SHORT=${GIT_SHA:0:7}
gcloud functions deploy ${{ secrets.WEBHOOK_NAME }}\
--runtime nodejs14\
--runtime nodejs18\
--trigger-http\
--update-labels "app_hash=${GIT_SHA_SHORT},app_name=handle_plan_webhook"\
--project=mabl-dev\
Expand All @@ -77,7 +77,7 @@ jobs:
GIT_SHA=${{ github.sha }}
GIT_SHA_SHORT=${GIT_SHA:0:7}
gcloud functions deploy ${{ secrets.WEBHOOK_NAME }}\
--runtime nodejs14\
--runtime nodejs18\
--trigger-http\
--update-labels "app_hash=${GIT_SHA_SHORT},app_name=handle_plan_webhook"\
--project=mabl-prod\
Expand Down
Loading

0 comments on commit f6c7775

Please sign in to comment.