File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PR
2
+
3
+ on : [ pull_request ]
4
+
5
+ jobs :
6
+ pr :
7
+ name : PR
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ - uses : actions/setup-node@v3
12
+ with :
13
+ node-version : ' 18'
14
+ cache : ' npm'
15
+ - run : npm ci
16
+ - run : npm run lint:js
17
+ - run : npm run test:types
18
+ - run : npm run test:ci
Original file line number Diff line number Diff line change 8
8
"pretest" : " npm run test:clean && npm run lint:js" ,
9
9
"test:clean" : " rimraf ./coverage" ,
10
10
"test" : " cross-env NODE_ENV=test jest --coverage" ,
11
+ "test:ci" : " cross-env NODE_ENV=test jest" ,
12
+ "test:types" : " tsc --noEmit" ,
11
13
"test:watch" : " cross-env NODE_ENV=test jest --watchAll" ,
12
14
"build:esm" : " cross-env BABEL_ENV=esm babel src -d dist/esm" ,
13
15
"build:cjs" : " cross-env BABEL_ENV=cjs babel src -d dist/cjs" ,
You can’t perform that action at this time.
0 commit comments