Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ custom:
```

You may refer to the follow examples:
- [NodeJS-10 with schedule trigger](./examples/nodejs10-schedule)
- [NodeJS with schedule trigger](./examples/nodejs-schedule)
- [Container with Schedule Trigger](./examples/container-schedule)

### Managing containers
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ It is not necessary if you wish to deploy containers only.
### Runtimes

Available runtimes are:
- `node10`, `node14`, `node16`, `node17` for JavaScript
- `node10`, `node14`, `node16`, `node18` for JavaScript
- `python37`, `python38`, `python39`, `python310`
- `go113`, `go117`, `go118`

Expand All @@ -200,7 +200,7 @@ Based on the chosen runtime, the `handler` variable on function might vary:
```yml
provider:
# ...
runtime: node16 # or node10, node16, node17
runtime: node16 # or node18
functions:
first:
handler: src/handlers/firstHandler.myFirstHandler
Expand Down
2 changes: 2 additions & 0 deletions docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Here is the default template for `Node`, you can customize `runtime` if you don'

- [node.js starter kit](../examples/nodejs)

For ES6 node modules please refer to [node modules](../examples/nodejs-es-modules)

## Go

Here is the default template for `Go`, you can customize `runtime` if you don't want default value :
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs-es-modules/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ service: scaleway-esmodule-nodeXX
configValidationMode: off
provider:
name: scaleway
runtime: node16
runtime: node16 # Available node runtimes are listed in documentation
# Global Environment variables - used in every functions
env:
test: test
Expand Down