Skip to content

Commit

Permalink
Merge pull request #910 from wallabag/fix/node-20
Browse files Browse the repository at this point in the history
Jump to Node 20
  • Loading branch information
j0k3r authored Dec 13, 2023
2 parents 5bbe381 + 2a73fe7 commit d777e9e
Show file tree
Hide file tree
Showing 7 changed files with 313 additions and 436 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@babel/preset-env",
{
"targets": {
"node": "18"
"node": "20"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.1
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Approve and merge minor updates
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- name: checkout
uses: actions/checkout@v3

- name: use node ${{ matrix.node-version }}
- name: setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
cache: 'yarn'

- name: install
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Available lambdas:

## Prerequisites

- Node.js 18
- Serverless CLI v3.25.0 or later (`npm install -g serverless@3`)
- Node.js 20
- Serverless CLI v3.37.0 or later (`npm install -g serverless@3`)
- An AWS account
- Defined [provider credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials/)

Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
frameworkVersion: ">=3.25.0"
frameworkVersion: ">=3.37.0"

service: wallabag-serverless-bot

Expand All @@ -15,7 +15,7 @@ custom:

provider:
name: aws
runtime: nodejs18.x
runtime: nodejs20.x
profile: default
region: ${opt:region, 'eu-west-1'}
versionFunctions: false
Expand Down
727 changes: 304 additions & 423 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit d777e9e

Please sign in to comment.