File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1616 fetch-depth : 1
1717 - uses : actions/setup-node@v2-beta
1818 with :
19- node-version : ' 14 .x'
19+ node-version : ' 12 .x'
2020 - name : Install Dependencies
2121 run : yarn install --frozen-lockfile
2222 - name : Lint
3232 fetch-depth : 1
3333 - uses : actions/setup-node@v2-beta
3434 with :
35- node-version : ' 14 .x'
35+ node-version : ' 12 .x'
3636 - name : Install Dependencies
3737 run : yarn install --frozen-lockfile
3838 - name : Test
Original file line number Diff line number Diff line change 4646 "typescript" : " ^4.1.2"
4747 },
4848 "engines" : {
49- "node" : " >=14"
49+ "node" : " 12.x || >=14"
5050 },
5151 "publishConfig" : {
5252 "registry" : " https://registry.npmjs.org"
Original file line number Diff line number Diff line change 11import execa from 'execa' ;
22import fs from 'fs' ;
3- import { mkdtemp , readFile , rmdir } from 'fs/promises ' ;
3+ import { promises as fsPromises } from 'fs' ;
44import os from 'os' ;
55import path from 'path' ;
66import { prepareFixtures } from '../utils/fixtures' ;
77
8+ // import directly from fs/promises when dropping node 12 support
9+ const { mkdtemp, readFile, rmdir } = fsPromises ;
10+
811const executable = path . join (
912 __dirname ,
1013 '..' ,
You can’t perform that action at this time.
0 commit comments