chore: use Node.js 16.x for building package and tests#601
Conversation
.github/workflows/ci.yml
Outdated
| if: matrix.node-version == '12.x' || matrix.node-version == '14.x' | ||
| if: matrix.node-version == '16.x' || matrix.node-version == '14.x' | ||
| - run: npm run test:pack | ||
| if: matrix.node-version == '14.x' | ||
| if: matrix.node-version == '16.x' || matrix.node-version == '14.x' |
There was a problem hiding this comment.
I think that these two tests should run on >= 12? That is, all that supports ESM
There was a problem hiding this comment.
Early versions of 12.x didn't support ESM IIRC… That's why historically we didn't test there.
But I guess nowadays it's safe to run these tests on Node 12+, so thanks for the catch!
Ran into this locally when using npm 7 as well, I didn't have time to look into why there was a |
The |
5f9237b to
284e2bc
Compare
|
I had to upgrade @wdio v6 -> v7 in order to get it to run with Node 16 and unfortunately that was a bit of a rabbit hole but it should be good again :). I couldn't resist upgrading all other build deps as well. |
284e2bc to
e26edd8
Compare
.local/uuid/abc.js
Outdated
| @@ -0,0 +1 @@ | |||
| sdfkl; | |||
There was a problem hiding this comment.
Oops, of course not…. I was Troubleshooting eslint/prettier… will remove
e26edd8 to
76b6ff8
Compare
76b6ff8 to
6559a01
Compare
6559a01 to
4a42846
Compare
Previously we were requiring Node 12.x to get somewhat reproducible npm builds. This now upgrades the requirement to the latests LTS version 16.x