Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 8ec2b9e

Browse files
committed
feat: Upgrade to node 16
1 parent 1b0904b commit 8ec2b9e

File tree

5 files changed

+3105
-6004
lines changed

5 files changed

+3105
-6004
lines changed

.github/workflows/pr.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup Node.js
2222
uses: actions/setup-node@v1
2323
with:
24-
node-version: 12
24+
node-version: 16
2525

2626
- name: Cache node_modules
2727
id: cache-node
@@ -110,7 +110,7 @@ jobs:
110110
- name: Setup node
111111
uses: actions/setup-node@v1
112112
with:
113-
node-version: 12
113+
node-version: 16
114114

115115
- name: Cache node_modules
116116
id: cache-node
@@ -156,7 +156,7 @@ jobs:
156156
- name: Setup Node.js
157157
uses: actions/setup-node@v1
158158
with:
159-
node-version: 12
159+
node-version: 16
160160

161161
- name: Cache node_modules
162162
id: cache-node
@@ -170,7 +170,7 @@ jobs:
170170
${{ runner.os }}-${{ env.cache-name }}-
171171
172172
- name: Install dependencies
173-
run: yarn install --frozen-lockfile
173+
run: yarn install --frozen-lockfile
174174

175175
- name: Run Jest
176176
run: yarn run test

.github/workflows/release.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Node.js
2626
uses: actions/setup-node@v1
2727
with:
28-
node-version: 12
28+
node-version: 16
2929

3030
- name: Download Cached Deps
3131
id: cache-node-modules
@@ -123,10 +123,10 @@ jobs:
123123
env:
124124
# Use nr-opensource-bot for authoring commits done by
125125
# semantic-release (rather than using @semantic-release-bot)
126-
GIT_AUTHOR_NAME: "nr-opensource-bot"
127-
GIT_AUTHOR_EMAIL: "[email protected]"
128-
GIT_COMMITTER_NAME: "nr-opensource-bot"
129-
GIT_COMMITTER_EMAIL: "[email protected]"
126+
GIT_AUTHOR_NAME: 'nr-opensource-bot'
127+
GIT_AUTHOR_EMAIL: '[email protected]'
128+
GIT_COMMITTER_NAME: 'nr-opensource-bot'
129+
GIT_COMMITTER_EMAIL: '[email protected]'
130130
GITHUB_TOKEN: ${{ secrets.OPENSOURCE_BOT_TOKEN }}
131131
run: npx semantic-release@^18.0.0
132132

@@ -154,5 +154,3 @@ jobs:
154154
}
155155
})
156156
console.log("Result:", result)
157-
158-

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12
1+
16

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"js-search": "^2.0.0",
3030
"lodash": "^4.17.21",
3131
"marked": "^2.0.0",
32-
"node-sass": "^4.14.1",
32+
"node-sass": "^6.0.1",
3333
"prism-react-renderer": "^1.2.0",
3434
"prop-types": "^15.7.2",
3535
"react": "^17.0.2",

0 commit comments

Comments
 (0)