Skip to content

Commit

Permalink
chores: update dependencies
Browse files Browse the repository at this point in the history
1. Updated husky to 7.0.4 which meant adding the .husky folder with
   the lint-staged task as a pre-commit step.

2. Updated TypeScript which meant the error object inside catch now has
   type unknown and needs casting to be used as custom type.

3. Updated Jest which meant that `async (done)` is no longer allowed,
   removed all the `done`'s. This is alright because we do assertion
   checks.

4. Updated GitHub workflow to drop node 10 support and add support for
   node 16.
  • Loading branch information
Gido Manders authored and gidomanders committed Jan 7, 2022
1 parent 9a5dba9 commit 885f74a
Show file tree
Hide file tree
Showing 7 changed files with 11,934 additions and 3,696 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 14.x, 15.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -35,4 +35,4 @@ jobs:
name: codecov-umbrella
fail_ci_if_error: true
path_to_write_report: ./coverage/codecov_report.txt
verbose: true
verbose: true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode
.idea

# jekyll
*.gem
.bundle
.sass-cache
_site
Gemfile.lock
Gemfile.lock
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
Loading

0 comments on commit 885f74a

Please sign in to comment.