Skip to content

Commit

Permalink
feat: add github pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
certator committed Dec 26, 2023
1 parent 7ec7134 commit b64e167
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: pre-commit

on: push

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- uses: actions/setup-node@v3
with:
node-version: 16
- run: apt-get -yqq update && apt-get install -yqq eslint
- run: npm install --legacy-peer-deps
# - uses: sibiraj-s/action-eslint@v3
- uses: pre-commit/[email protected]

0 comments on commit b64e167

Please sign in to comment.