Skip to content

Commit

Permalink
⬆️ Update to node 12
Browse files Browse the repository at this point in the history
  • Loading branch information
jh0ker committed Jan 13, 2020
1 parent 5cc9001 commit bd1ae52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: node_js
sudo: false

node_js:
- 8
- 12

env:
global:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"universal-analytics": "^0.4.20"
},
"engines": {
"node": ">=8.10.0"
"node": ">=12"
},
"scripts": {
"deploy": "yarn && sls deploy",
Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ service: wdraktuell-bot-fb
provider:
name: aws
region: ${file(config.yml):region}
runtime: nodejs8.10
runtime: nodejs12.x
stage: ${file(config/env.js):stage}
environment: ${file(config/env.js):env}
iamRoleStatements:
Expand Down Expand Up @@ -214,7 +214,7 @@ custom:
- aws-sdk
packagerOptions:
scripts:
- npm rebuild grpc --target=8.10.0 --target_arch=x64 --target_platform=linux --target_libc=glibc
- npm rebuild grpc --target_arch=x64 --target_platform=linux --target_libc=glibc
sentry:
dsn: ${file(config/env.js):env.SENTRY_DSN}

Expand Down

0 comments on commit bd1ae52

Please sign in to comment.