File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 strategy :
1111 matrix :
12- node : [10, 12, 14, 15 ]
12+ node : [12, 14, 16 ]
1313 steps :
1414 - uses : actions/checkout@v2
1515 - uses : actions/setup-node@v2
2727 - uses : actions/checkout@v2
2828 - uses : actions/setup-node@v2
2929 with :
30- node-version : 12
30+ node-version : 16
3131 - run : npm install
3232 - run : npm run lint
3333 release :
3838 - uses : actions/checkout@v2
3939 - uses : actions/setup-node@v2
4040 with :
41- node-version : 12
41+ node-version : 16
4242 - run : npm install
4343 - run : npx semantic-release
4444 env :
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ It does this two ways:
1818## Usage
1919
2020``` js
21- const yes = require ( ' yes-https' ) ;
22- const express = require ( ' express' ) ;
21+ import yes from ' yes-https' ;
22+ import express from ' express' ;
2323
2424let app = express ();
2525
Original file line number Diff line number Diff line change 1- const express = require ( 'express' ) ;
2- const yes = require ( '../lib/index.js' ) ;
1+ import process from 'node:process' ;
2+ import express from 'express' ;
3+ import yes from '../lib/index.js' ;
34
45const app = express ( ) ;
56
You can’t perform that action at this time.
0 commit comments