-
-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run demo GitHub Action in parallel (#2484)
* Run demo GitHub Action in parallel * Fix path of action yml * Move checkout to demo action * Prettier format * Specifying shell * Try to fix uses * Fix spelling issue * Fix demo * Downloading artifacts too unreliable Building instead * Re-name step Re-use action elsewhere
- Loading branch information
Showing
5 changed files
with
772 additions
and
764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Install dependencies and build ⚙️ | ||
description: Install dependencies and build | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Install Dependencies | ||
shell: bash | ||
run: npm ci --force | ||
- name: Build | ||
shell: bash | ||
run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Extract and Validate Document ⚙️ | ||
description: Extract the document and validate the XML against the schema. | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Extract Word Document | ||
shell: bash | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.