Skip to content

Commit

Permalink
feat!: upgrade to node 18 (#1422)
Browse files Browse the repository at this point in the history
* upgrade to v18

* adapt rest of workflows

* update readme

* recommit packagelock
  • Loading branch information
jonaslagoni authored Aug 22, 2023
1 parent 33c66a4 commit 30ad86a
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6,538 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/runtime-cplusplus-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Check package-lock version
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
id: lockversion
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14
node-version: "${{ steps.lockversion.outputs.version }}"
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Build library
run: npm install && npm run build:prod
- name: Setup Cpp (C++ / C)
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/website-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Checkout repository
uses: actions/checkout@v3
- name: Check package-lock version
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
id: lockversion
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14
node-version: "${{ steps.lockversion.outputs.version }}"
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Modelina Core Install dependencies
id: first-installation-core
run: npm install --loglevel verbose
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14
v18
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ This is the roadmap that is currently in focus by the [CODEOWNERS](./CODEOWNERS)
## Requirements
The following are a requirement in order to use Modelina.

- [NodeJS](https://nodejs.org/en/) >= 14
- [NodeJS](https://nodejs.org/en/) >= 18

## Documentation
A feature in Modelina cannot exists without an example and documentation for it. You can find all the [documentation here](./docs/README.md).
Expand Down
Loading

0 comments on commit 30ad86a

Please sign in to comment.