diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..1000c33 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -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/action@v3.0.0