Skip to content

Commit

Permalink
ci: add 14.x back to CI and fix husky
Browse files Browse the repository at this point in the history
  • Loading branch information
brettstack committed Dec 19, 2023
1 parent 5132ef9 commit c3c88e5
Show file tree
Hide file tree
Showing 6 changed files with 295 additions and 15,957 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release-on-push-to-mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -33,6 +33,9 @@ jobs:
- name: Test
run: npm test

- name: TS
run: npm run tsc

- name: Lint
run: npm run lint

Expand Down
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint -e $GIT_PARAMS
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
npx lint-staged
5 changes: 5 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
npm run tsc
Loading

0 comments on commit c3c88e5

Please sign in to comment.