Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
ci: upgrade dependencies and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonC committed Jun 15, 2022
1 parent f857742 commit 77baa44
Show file tree
Hide file tree
Showing 10 changed files with 30,738 additions and 7,740 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 16
- name: Install dependencies
run: npm ci
- name: Release
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 16
- run: npm ci
- run: npm install react prop-types
- run: npm run build
- run: npm run lint
- run: npm test
- run: npm test:types
- uses: wagoid/commitlint-github-action@v1
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
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
6 changes: 0 additions & 6 deletions .huskyrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.16.1
16.15.0

0 comments on commit 77baa44

Please sign in to comment.