Skip to content

Commit

Permalink
Merge pull request #241 from ThatConference/tickle-bot/chore/node-20
Browse files Browse the repository at this point in the history
Tickle-bot: chore: update to node 20
  • Loading branch information
brettski authored Nov 30, 2023
2 parents a79a5f6 + fc22655 commit c839577
Show file tree
Hide file tree
Showing 5 changed files with 5,982 additions and 5,228 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tickle-bot_PullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- name: Checkout PR
uses: actions/checkout@v3
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: npm ci, run validate
run: |
cd functions/tickle-bot
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tickle-bot_PushMaster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: npm ci, run validate
run: |
cd functions/tickle-bot
Expand Down Expand Up @@ -64,11 +64,11 @@ jobs:
- name: Setup google auth for github actions
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.GCLOUD_AUTH }}
credentials_json: ${{ secrets.GCLOUD_AUTH }}
- name: Setup gcloud Actions
uses: google-github-actions/setup-gcloud@v1
with:
version: '428.0.0'
version: "437.0.1"
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: write .env file
run: |
Expand All @@ -91,7 +91,7 @@ jobs:
echo $PWD
ls -lasiR
- name: Run GCP Deploy Function - tickle-bot
run: gcloud functions deploy ticklebot --runtime nodejs18 --trigger-http --source $PWD/tc-api --entry-point handler --memory 512MB --timeout 300
run: gcloud functions deploy ticklebot --runtime nodejs20 --trigger-http --source $PWD/tc-api --entry-point handler --memory 512MB --timeout 300
env:
CLOUDSDK_CORE_PROJECT: ${{ secrets.GCP_PROJECT_ID }}
- name: Slack Notification
Expand Down
2 changes: 1 addition & 1 deletion functions/tickle-bot/.node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.2
20.10.0
Loading

0 comments on commit c839577

Please sign in to comment.