Skip to content

Commit f1715b7

Browse files
committed
revert husky pre-commit and upgrade node for github actions workflow
1 parent c7d7551 commit f1715b7

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Node
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: "18"
40+
node-version: "20"
4141
cache: ${{ steps.detect-package-manager.outputs.manager }}
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v2

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: "18"
20+
node-version: "20"
2121
cache: ${{ steps.detect-package-manager.outputs.manager }}
2222
- name: Setup Pages
2323
uses: actions/configure-pages@v2

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
14
npm run lint

0 commit comments

Comments
 (0)