Skip to content
This repository was archived by the owner on Apr 21, 2023. It is now read-only.

Commit cd514d8

Browse files
authored
chore/update-action-to-husky (#148)
* Migrate to husky * better action * typo * Better node
1 parent d40a681 commit cd514d8

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/pre-commit.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20-
- name: Setup Python
21-
uses: actions/setup-python@v2
20+
- name: Use Node.js 16.x
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 16.x
24+
cache: 'npm'
2225

23-
- name: Pre-commit checks
24-
uses: pre-commit/[email protected]
26+
- name: npm install
27+
run: npm install --include=dev
28+
- name: Run Husky
29+
run: npx prettier .

.pre-commit-config.yaml

-5
This file was deleted.

.tool-versions

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
nodejs 16.15.1
2-
python 3.10.2

0 commit comments

Comments
 (0)