Fix demos

This commit is contained in:
Dolan
2022-10-25 01:13:44 +01:00
parent 8a3ccdb196
commit f4ed171f85
2 changed files with 55 additions and 898 deletions

View File

@ -73,15 +73,15 @@ jobs:
with: with:
xml-file: build/extracted-doc/word/document.xml xml-file: build/extracted-doc/word/document.xml
xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo # - name: Run Demo
run: npm run ts-node -- ./demo/5-images.ts # run: npm run ts-node -- ./demo/5-images.ts
- name: Extract Word Document # - name: Extract Word Document
run: npm run extract # run: npm run extract
- name: Validate XML # - name: Validate XML
uses: ChristophWurst/xmllint-action@v1 # uses: ChristophWurst/xmllint-action@v1
with: # with:
xml-file: build/extracted-doc/word/document.xml # xml-file: build/extracted-doc/word/document.xml
xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd # xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo - name: Run Demo
run: npm run ts-node -- ./demo/6-page-borders.ts run: npm run ts-node -- ./demo/6-page-borders.ts
- name: Extract Word Document - name: Extract Word Document
@ -688,4 +688,31 @@ jobs:
uses: ChristophWurst/xmllint-action@v1 uses: ChristophWurst/xmllint-action@v1
with: with:
xml-file: build/extracted-doc/word/document.xml xml-file: build/extracted-doc/word/document.xml
xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/72-word-wrap.ts
- name: Extract Word Document
run: npm run extract
- name: Validate XML
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/73-comments.ts
- name: Extract Word Document
run: npm run extract
- name: Validate XML
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd
- name: Run Demo
run: npm run ts-node -- ./demo/73-comments.ts
- name: Extract Word Document
run: npm run extract
- name: Validate XML
uses: ChristophWurst/xmllint-action@v1
with:
xml-file: build/extracted-doc/word/document.xml
xml-schema-file: ooxml-schemas/microsoft/wml-2010.xsd

906
package-lock.json generated

File diff suppressed because it is too large Load Diff