Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node version (20.15 LTS) #736

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: cimg/node:18.18
- image: cimg/node:20.15
resource_class: medium
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
steps:
- run:
name: Install pnpm
command: sudo corepack enable && corepack prepare pnpm@8.6.9 --activate
command: sudo corepack enable && corepack prepare pnpm@9.5 --activate
- checkout
- restore_cache:
# See the configuration reference documentation for more details on using restore_cache and save_cache steps
Expand All @@ -35,7 +35,7 @@ jobs:

build:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.15
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -50,7 +50,7 @@ jobs:

unit_test:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.15
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -61,7 +61,7 @@ jobs:

format:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.15
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -72,7 +72,7 @@ jobs:

type_check:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.15
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -83,7 +83,7 @@ jobs:

integration_test:
docker:
- image: cimg/node:18.18
- image: cimg/node:20.15
resource_class: medium
steps:
- attach_workspace:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v3
with:
node-version: '18.18'
node-version: '20.15'
- uses: pnpm/action-setup@v4
with:
version: 8
- run: pnpm install
- run: pnpm build
- run: pnpm test
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.12.1
nodejs 20.15.1
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@openfn/kit",
"version": "1.0.0",
"private": true,
"description": "Next-generation OpenFN tooling",
"description": "Next-generation OpenFn tooling",
"scripts": {
"build": "pnpm run clean && pnpm -r --filter=./packages/* run build",
"clean:local": "rimraf dist/**/*",
Expand All @@ -21,6 +21,10 @@
"test": "pnpm -r --filter=./packages/* run test",
"typesync": "pnpm exec typesync && pnpm -r exec typesync && pnpm install"
},
"engines": {
"node": "<18",
"pnpm": "9.5.0"
},
"keywords": [],
"author": "Open Function Group",
"license": "ISC",
Expand Down
Loading