diff options
author | Jordan Harband <ljharb@gmail.com> | 2021-02-09 00:49:04 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-02-12 20:35:10 +0300 |
commit | 868954a72c06ff2210b35e1e75571f4ec3357c43 (patch) | |
tree | 6d4b502d156229ad7e18013dc6bf93dfa9bb19b4 /.github | |
parent | 37e8cc507b2ce0b89f92e7e77b1d909d1bf5513f (diff) |
[fix] node v10.0 lacks `fs.promises`
In this node version, fall back to `util.promisify` of the callback version.
Maybe fixes https://github.com/npm/cli/issues/2623. Maybe fixes https://github.com/npm/cli/issues/2652. Maybe fixes https://github.com/npm/cli/issues/2625.
PR-URL: https://github.com/npm/cli/pull/2654
Credit: @ljharb
Close: #2654
Reviewed-by: @wraithgar, @ruyadorno
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 939f295e9..851b3fdcb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.x, 12.x, 14.x] + node-version: ['10.1', 10.x, '12.1', 12.x, '14.1', 14.x] platform: - os: ubuntu-latest shell: bash |