-
Notifications
You must be signed in to change notification settings - Fork 67
Conversation
@@ -19,9 +19,6 @@ const { NEXT_VERSION } = require("./nextVersion"); | |||
// run next-on-netlify. | |||
|
|||
class NextAppBuilder { | |||
// Name of the app to build. This determines the build path. | |||
__appName = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using instance fields is not supported in Node 10.
__appName
is used below in path.join()
which expects a specific value to have been configured with forTest()
. So this can be safely removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
things i wouldve probably never found: this
a92a0bf
to
b5ff05e
Compare
@@ -26,6 +26,6 @@ jobs: | |||
with: | |||
node-version: ${{ matrix.node-version }} | |||
- name: Install dependencies | |||
run: npm ci | |||
run: npm install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm ci
is not support in the older npm
version which comes with Node 10.17.0
.
b5ff05e
to
2ca3265
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 👏 👏
@@ -19,9 +19,6 @@ const { NEXT_VERSION } = require("./nextVersion"); | |||
// run next-on-netlify. | |||
|
|||
class NextAppBuilder { | |||
// Name of the app to build. This determines the build path. | |||
__appName = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
things i wouldve probably never found: this
Node
10.17.0
could not run tests due to a test helpers using a JavaScript feature added in Node 12 (instance fields).This PR fixes this.
It also runs tests on Node
10.17.0
and addsengines.node
to declare the supported Node.js versions.