Skip to content

Commit

Permalink
Merge pull request #380 from 20minutes/fix/node-20
Browse files Browse the repository at this point in the history
Jump to Node 20
  • Loading branch information
j0k3r authored Dec 11, 2023
2 parents c5e7410 + e6f86c6 commit 2095260
Show file tree
Hide file tree
Showing 8 changed files with 444 additions and 723 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/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
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
12 changes: 4 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,14 @@ jobs:
build:
runs-on: ubuntu-latest

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

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

- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: setup node
uses: actions/setup-node@v4
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 @@ -42,8 +42,8 @@ Here are the actions you might take:

## Prerequisites

- Node.js 18
- Serverless CLI >=3.25.0
- Node.js 20
- Serverless CLI >=3.37.0
- An AWS account
- Defined [provider credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials/)
- An [Incoming Webhook URL](https://api.slack.com/messaging/webhooks) from Slack
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: serverless-provisioned-memory-report
useDotenv: true
Expand All @@ -10,7 +10,7 @@ plugins:

provider:
name: aws
runtime: nodejs18.x
runtime: nodejs20.x
profile: default
region: ${opt:region, 'eu-west-1'}
logRetentionInDays: 30
Expand Down
1,139 changes: 432 additions & 707 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 2095260

Please sign in to comment.