-
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint the ultimate HTML generated for the site (#1235)
* Lint generated HTML * Freeze Linter version * Correct Linter command * Fix linter version * Fix cleanup * Code cleanup * Change to new node version syntax
- Loading branch information
1 parent
3f06faa
commit 770621b
Showing
5 changed files
with
19 additions
and
4 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 |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
- name: Setup Node.js for use with actions | ||
uses: actions/[email protected] | ||
with: | ||
version: 12.x | ||
node-version: 12.x | ||
- name: Set up Python 3.7 | ||
uses: actions/[email protected] | ||
with: | ||
|
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
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 |
---|---|---|
|
@@ -20,10 +20,16 @@ jobs: | |
- name: Setup Node.js for use with actions | ||
uses: actions/[email protected] | ||
with: | ||
version: 12.x | ||
node-version: 12.x | ||
- name: Set up Python 3.7 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.7' | ||
- name: Run the website | ||
run: ./src/tools/scripts/run_and_test_website.sh | ||
- name: Lint Generated HTML | ||
uses: github/[email protected] | ||
env: | ||
DEFAULT_BRANCH: main | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VALIDATE_HTML: true |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea/ | ||
.vscode/ | ||
node_modules/ | ||
node_modules/ | ||
static/html/ |
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