Skip to content

Commit

Permalink
chore: Update pre-commit workflow to include setup for Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Jun 18, 2024
1 parent 530a4e2 commit 40c7f34
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: pre-commit/action@v3.0.0
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/setup-node@v3
with:
node-version: "16.x"
- run: npm install
- uses: pre-commit/action@v3.0.0

0 comments on commit 40c7f34

Please sign in to comment.