Skip to content

Commit

Permalink
ci/wip: add pre-commit to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasschaub committed Oct 16, 2023
1 parent e406bea commit 967e570
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/js-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ jobs:
run: npx eslint .
- name: Run Stylelint
run: npx stylelint "**/*.css"
- name: set PY
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

0 comments on commit 967e570

Please sign in to comment.