Skip to content

Commit

Permalink
Uses new validation tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiliavir committed Dec 6, 2021
1 parent a209218 commit 6499eb5
Show file tree
Hide file tree
Showing 15 changed files with 2,366 additions and 3,845 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo --minify
run: npm run build
- name: Create Index
run: npm run index
- name: Validate with W3C
run: npm run validate
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ jobs:
hugo-version: 'latest'
extended: true
- name: ⚙ Build
run: hugo --minify
run: npm run build
- name: 𝍖 Create Index
run: npm run index
- name: ✓ Validate with W3C
run: npm run validate
- name: 🏷️ Get tag name
run: echo "TAG_NAME=$(echo ${GITHUB_REF#refs/*/} | tr / -)" >> $GITHUB_ENV
- name: 📂 Archive
Expand Down
7 changes: 7 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "stylelint-config-recommended-scss",
"rules": {
"scss/no-global-function-names": null,
"no-descending-specificity": null
}
}
2 changes: 1 addition & 1 deletion assets/scss/bilder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import 'node_modules/photoswipe/dist/photoswipe';

$pswp__assets-path: 'bilder/';
@import 'node_modules/photoswipe/src/css/default-skin/default-skin.scss';
@import 'node_modules/photoswipe/src/css/default-skin/default-skin';

$overlay-bg-color: #333;
$overlay-color: #fff;
Expand Down
Loading

0 comments on commit 6499eb5

Please sign in to comment.