Skip to content

Commit

Permalink
Add hint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisseurin committed Jul 25, 2024
1 parent 3835991 commit 99ed6c6
Show file tree
Hide file tree
Showing 8 changed files with 8,645 additions and 75 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages

on:
push:
branches: [ master ]
branches: [master]

jobs:
build:
Expand All @@ -27,17 +27,17 @@ jobs:
- name: Run linter
run: npm run lint

- name: Run hint
run: npm run hint

- name: Run tests
run: npm test

- name: Build project
run: npm run build

#- name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v4
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./dist

- name: Serve the project
run: npm run deploy
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
11 changes: 11 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": [
"development"
],
"hints": {
"x-content-type-options": "error",
"http-cache": ["error", {
"revvingPatterns": ["\\/\\d+\\/\\w+\\.\\w{1,3}"]
}]
}
}
2,969 changes: 2,969 additions & 0 deletions hint-report/file--C--Users-AS-source-repos-GitHub-public-transport-map.html

Large diffs are not rendered by default.

Loading

0 comments on commit 99ed6c6

Please sign in to comment.