File tree 5 files changed +10
-7
lines changed
5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 30
30
- name : Set up node_modules
31
31
run : npm ci
32
32
33
+ - name : Build test
34
+ run : npm run build --if-present
35
+
33
36
- name : Test and test coverage
34
37
run : npm run coverage
35
38
Original file line number Diff line number Diff line change 15
15
coverage
16
16
17
17
# packages
18
- packages /** /LICENSE
18
+ packages /** /LICENSE.md
19
19
packages /** /README.md
Original file line number Diff line number Diff line change 5
5
"main" : " build/index.js" ,
6
6
"files" : [
7
7
" build" ,
8
- " LICENSE" ,
8
+ " LICENSE.md " ,
9
9
" README.md"
10
10
],
11
11
"bin" : {
46
46
"scripts" : {
47
47
"postinstall" : " test -d src && npm run build || npm run chmod" ,
48
48
"prepublishOnly" : " npm run build" ,
49
- "build" : " npx babel src -d build && npx tsc && cp -r src/script build && cp ../../LICENSE ../../README.md ." ,
49
+ "build" : " npx babel src -d build && npx tsc && cp -r src/script build && cp ../../LICENSE.md ../../README.md ." ,
50
50
"postbuild" : " npm run chmod" ,
51
51
"test" : " node --test" ,
52
52
"chmod" : " find ./src/script ./build/script -type f -exec chmod 755 {} + || true"
Original file line number Diff line number Diff line change 5
5
"main" : " build/index.js" ,
6
6
"files" : [
7
7
" build" ,
8
- " LICENSE" ,
8
+ " LICENSE.md " ,
9
9
" README.md"
10
10
],
11
11
"bin" : {
45
45
"scripts" : {
46
46
"postinstall" : " test -d src && npm run build || npm run chmod" ,
47
47
"prepublishOnly" : " npm run build" ,
48
- "build" : " npx babel src -d build && npx tsc && cp -r src/bin build && cp ../../LICENSE ../../README.md ." ,
48
+ "build" : " npx babel src -d build && npx tsc && cp -r src/bin build && cp ../../LICENSE.md ../../README.md ." ,
49
49
"postbuild" : " npm run chmod" ,
50
50
"test" : " node --test" ,
51
51
"chmod" : " find ./src/bin ./build/bin -type f -exec chmod 755 {} + || true"
Original file line number Diff line number Diff line change 5
5
"main" : " build/index.js" ,
6
6
"files" : [
7
7
" build" ,
8
- " LICENSE" ,
8
+ " LICENSE.md " ,
9
9
" README.md"
10
10
],
11
11
"bin" : {
44
44
"scripts" : {
45
45
"postinstall" : " test -d src && npm run build || npm run chmod" ,
46
46
"prepublishOnly" : " npm run build" ,
47
- "build" : " npx babel src -d build && npx tsc && cp -r src/bin build && cp ../../LICENSE ../../README.md ." ,
47
+ "build" : " npx babel src -d build && npx tsc && cp -r src/bin build && cp ../../LICENSE.md ../../README.md ." ,
48
48
"postbuild" : " npm run chmod" ,
49
49
"test" : " node --test" ,
50
50
"chmod" : " find ./src/bin ./build/bin -type f -exec chmod 755 {} + || true"
You can’t perform that action at this time.
0 commit comments