Skip to content

Commit

Permalink
chore(project): update to Node v16.13 (#10346)
Browse files Browse the repository at this point in the history
* chore(project): update to Node v16.13

* chore(project): update engines field

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
joshblack and kodiakhq[bot] authored Jan 6, 2022
1 parent b58900a commit 4b18818
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 40 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Run yarn dedupe
run: yarn dedupe --check

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Check formatting of project files
Expand All @@ -35,10 +35,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Lint JavaScript files
Expand All @@ -50,10 +50,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- uses: actions/[email protected]
id: cache
with:
Expand All @@ -76,10 +76,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- uses: actions/[email protected]
id: cache
with:
Expand Down Expand Up @@ -112,10 +112,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- uses: actions/[email protected]
id: cache
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-react-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@main
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Build project
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-vanilla-devenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@main
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Build project
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@main
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Build project
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Build project
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.17
16.13
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": "[email protected]:carbon-design-system/carbon.git",
"license": "Apache-2.0",
"engines": {
"node": ">=12.x"
"node": ">=16.x"
},
"workspaces": [
"actions/*",
Expand Down
1 change: 1 addition & 0 deletions packages/colors/examples/preview/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.yarn
5 changes: 0 additions & 5 deletions packages/components/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const autoprefixer = require('autoprefixer');
const customProperties = require('postcss-custom-properties');
// load dart-sass
const dartSass = require('sass');
// required for dart-sass - async builds are significantly slower without this package
const Fiber = require('fibers');
// require node-sass so we can explicitly set `gulp-sass`s `.compiler` property
const nodeSass = require('node-sass');

Expand Down Expand Up @@ -148,9 +146,6 @@ let sassDefaultOptions = {};

if (useDartSass) {
sass.compiler = dartSass;
sassDefaultOptions = {
fiber: Fiber,
};
} else {
sass.compiler = nodeSass;
}
Expand Down
1 change: 0 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
"diff": "^5.0.0",
"express-handlebars": "^5.2.1",
"fancy-log": "^1.3.0",
"fibers": "^4.0.1",
"glob": "^7.1.2",
"globby": "^11.0.2",
"gulp": "^4.0.0",
Expand Down
10 changes: 0 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11711,7 +11711,6 @@ __metadata:
diff: ^5.0.0
express-handlebars: ^5.2.1
fancy-log: ^1.3.0
fibers: ^4.0.1
flatpickr: 4.6.1
glob: ^7.1.2
globby: ^11.0.2
Expand Down Expand Up @@ -17452,15 +17451,6 @@ __metadata:
languageName: node
linkType: hard

"fibers@npm:^4.0.1":
version: 4.0.2
resolution: "fibers@npm:4.0.2"
dependencies:
detect-libc: ^1.0.3
checksum: 0a96dd79fb2f4d4f813d29814a93d449cd7595ddb5a114cf336ceaf177ae3cdbc33a99f050ccb36e0e41b3fc38a69beff9a918d91d03f53fb7f37870d2aae473
languageName: node
linkType: hard

"figgy-pudding@npm:^3.4.1, figgy-pudding@npm:^3.5.1":
version: 3.5.1
resolution: "figgy-pudding@npm:3.5.1"
Expand Down

0 comments on commit 4b18818

Please sign in to comment.