Skip to content

Commit

Permalink
20230904
Browse files Browse the repository at this point in the history
  • Loading branch information
taichunmin committed Sep 4, 2023
1 parent 1eae3ae commit aa7dd3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: 安裝 Node.js 與 yarn
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'
- name: install, lint, test
run: |
Expand All @@ -34,7 +34,7 @@ jobs:
- name: 安裝 Node.js 與 yarn
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'
- id: 'auth'
uses: google-github-actions/auth@v0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"jest": "^29.6.2"
},
"scripts": {
"deploy": "gcloud functions deploy gcf-line-devbot --allow-unauthenticated --entry-point=main --env-vars-file=.env.yaml --gen2 --max-instances=1 --memory=128Mi --no-user-output-enabled --region=us-central1 --runtime=nodejs18 --timeout=60s --trigger-http && gcloud run services update gcf-line-devbot --region=us-central1 --cpu 1 --concurrency 80",
"deploy": "gcloud functions deploy gcf-line-devbot --allow-unauthenticated --entry-point=main --env-vars-file=.env.yaml --gen2 --max-instances=1 --memory=128Mi --no-user-output-enabled --region=us-central1 --runtime=nodejs20 --timeout=60s --trigger-http && gcloud run services update gcf-line-devbot --region=us-central1 --cpu 1 --concurrency 80",
"lint": "eslint --ext .js --fix .",
"localhost-run": "autossh -M 0 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -R 80:localhost:3000 [email protected]",
"repl": "node --experimental-repl-await repl.js",
Expand Down

0 comments on commit aa7dd3c

Please sign in to comment.