Skip to content

Commit 2c11d37

Browse files
committed
chore!: minimum node version v18
BREAKING CHANGE: drop node v14 and v16 support
1 parent 35e9015 commit 2c11d37

40 files changed

Lines changed: 39 additions & 97 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -8,64 +8,6 @@ on:
88
types: [opened, synchronize]
99

1010
jobs:
11-
v14:
12-
runs-on: ubuntu-22.04
13-
container:
14-
image: 'ubuntu:22.04'
15-
steps:
16-
- name: Install required dependencies
17-
run: |
18-
apt update
19-
apt install --yes sudo
20-
sudo apt install --yes git
21-
sudo apt install --yes curl
22-
curl --location https://deb.nodesource.com/setup_14.x | sudo --preserve-env bash -
23-
sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs
24-
- uses: actions/checkout@v3
25-
# workaround for https://github.com/actions/runner/issues/2033
26-
- name: ownership workaround
27-
run: git config --global --add safe.directory '*'
28-
- name: Install yarn
29-
run: |
30-
npm install --global yarn
31-
node --version
32-
yarn global add yarn@latest
33-
- name: Install dependencies
34-
run: yarn install --ignore-engines --frozen-lockfile
35-
- name: Build packages
36-
run: yarn build
37-
- name: Test
38-
run: yarn test-ci
39-
40-
v16:
41-
runs-on: ubuntu-22.04
42-
container:
43-
image: 'ubuntu:22.04'
44-
steps:
45-
- name: Install required dependencies
46-
run: |
47-
apt update
48-
apt install --yes sudo
49-
sudo apt install --yes git
50-
sudo apt install --yes curl
51-
curl --location https://deb.nodesource.com/setup_16.x | sudo --preserve-env bash -
52-
sudo DEBIAN_FRONTEND=noninteractive apt install --yes nodejs
53-
- uses: actions/checkout@v3
54-
# workaround for https://github.com/actions/runner/issues/2033
55-
- name: ownership workaround
56-
run: git config --global --add safe.directory '*'
57-
- name: Install yarn
58-
run: |
59-
npm install --global yarn
60-
node --version
61-
yarn global add yarn@latest
62-
- name: Install dependencies
63-
run: yarn install --ignore-engines --frozen-lockfile
64-
- name: Build packages
65-
run: yarn build
66-
- name: Test
67-
run: yarn test-ci
68-
6911
v18:
7012
runs-on: ubuntu-22.04
7113
container:

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 18.16.0
1+
nodejs 18.17.1

@alias/commitlint-config-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-angular": "^17.7.0"

@alias/commitlint-config-lerna-scopes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-lerna-scopes": "^17.7.0"

@alias/commitlint-config-nx-scopes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-nx-scopes": "^17.6.4"

@alias/commitlint-config-patternplate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"dependencies": {
3333
"@commitlint/config-patternplate": "^17.7.0"

@alias/commitlint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"pkg": "pkg-check --skip-main"
1414
},
1515
"engines": {
16-
"node": ">=v14"
16+
"node": ">=v18"
1717
},
1818
"repository": {
1919
"type": "git",

@commitlint/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"pkg": "pkg-check"
1616
},
1717
"engines": {
18-
"node": ">=v14"
18+
"node": ">=v18"
1919
},
2020
"repository": {
2121
"type": "git",

@commitlint/config-angular-type-enum/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"devDependencies": {
3333
"@commitlint/utils": "^17.4.0"

@commitlint/config-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"homepage": "https://commitlint.js.org/",
2929
"engines": {
30-
"node": ">=v14"
30+
"node": ">=v18"
3131
},
3232
"devDependencies": {
3333
"@commitlint/lint": "^17.7.0",

0 commit comments

Comments
 (0)