File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 6
6
- master
7
7
8
8
jobs :
9
+
10
+ runner-job :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Check out repository code
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Install dependencies
18
+ run : npm ci
19
+
20
+ - name : Run Tests
21
+ run : npm test
22
+
9
23
release :
10
24
name : Release
11
25
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 6
6
"access" : " public" ,
7
7
"registry" : " https://registry.npmjs.org/"
8
8
},
9
+ "type" : " module" ,
9
10
"main" : " build/index.js" ,
10
11
"types" : " build/index.d.ts" ,
11
12
"files" : [
19
20
],
20
21
"scripts" : {
21
22
"build" : " tsc" ,
22
- "test" : " echo \" Error: no test specified \" && exit 1 "
23
+ "test" : " npm run build && node ./build/test/index.js "
23
24
},
24
25
"repository" : {
25
26
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments