Skip to content

Commit

Permalink
feat!: bump minimum node version requirement to ^14.18 || ^16.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 18, 2022
1 parent 031bbd1 commit b3f68ae
Show file tree
Hide file tree
Showing 9 changed files with 152 additions and 113 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Node CI
on:
push:
branches:
- "**"
- '**'
tags:
- "[0-9]+.[0-9]+.[0-9]+*"
- '[0-9]+.[0-9]+.[0-9]+*'
pull_request:

jobs:
Expand All @@ -22,10 +22,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.node-version'
- name: Prepare Environment
run: |
yarn install
Expand All @@ -47,10 +47,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.node-version'
- name: Prepare Environment
run: |
yarn install
Expand All @@ -71,13 +71,13 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]
lib-name: [timeline-state-resolver, timeline-state-resolver-types]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Prepare Environment
Expand All @@ -93,7 +93,7 @@ jobs:
env:
CI: true
- name: Send coverage
if: matrix.node-version == '14.x'
if: matrix.node-version == '16.x'
run: |
cd packages/${{ matrix.lib-name }}
yarn send-coverage
Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.node-version'
- name: Check release is desired
id: do-publish
run: |
Expand Down Expand Up @@ -190,10 +190,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.node-version'
- name: Prepare Environment
run: |
yarn install
Expand Down Expand Up @@ -223,10 +223,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.node-version'
- name: Prepare Environment
run: |
yarn install
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x]
lib-name: [timeline-state-resolver, timeline-state-resolver-types]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Prepare Environment
Expand Down Expand Up @@ -47,10 +47,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version-file: '.node-version'
- name: Check release is desired
id: do-publish
run: |
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.14
1 change: 1 addition & 0 deletions .nvmrc
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.5.0-release40",
"version": "7.0.0-release41",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"jest-haste-map": "^26.0.1",
"jest-resolve": "^26.0.1",
"lerna": "^4.0.0",
"open-cli": "^6.0.1",
"open-cli": "^7.0.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.0",
"type-fest": "^2.11.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/timeline-state-resolver-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "timeline-state-resolver-types",
"version": "6.5.0-release40",
"version": "7.0.0-release41",
"description": "Have timeline, control stuff",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -61,7 +61,7 @@
"precommit": "lint-staged"
},
"engines": {
"node": ">=12.18"
"node": "^14.18 || ^16.14"
},
"files": [
"/dist",
Expand Down
6 changes: 3 additions & 3 deletions packages/timeline-state-resolver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "timeline-state-resolver",
"version": "6.5.0-release40",
"version": "7.0.0-release41",
"description": "Have timeline, control stuff",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -66,7 +66,7 @@
"precommit": "lint-staged"
},
"engines": {
"node": ">=12.18"
"node": "^14.18 || ^16.14"
},
"files": [
"/dist",
Expand Down Expand Up @@ -106,7 +106,7 @@
"sprintf-js": "^1.1.2",
"superfly-timeline": "8.2.1",
"threadedclass": "^1.0.1",
"timeline-state-resolver-types": "6.5.0-release40",
"timeline-state-resolver-types": "7.0.0-release41",
"tslib": "^2.3.1",
"tv-automation-quantel-gateway-client": "^2.0.4",
"underscore": "^1.12.0",
Expand Down
Loading

0 comments on commit b3f68ae

Please sign in to comment.