Skip to content

Commit

Permalink
fix: security vulnerabilities (#93)
Browse files Browse the repository at this point in the history
* fix: security vulnerabilities and dependencies

* feat: added support of github action v2

* fix: updated husky config

Co-authored-by: Shubham Tyagi <[email protected]>
  • Loading branch information
shubhamtyagi02 and Shubham Tyagi authored Jul 6, 2021
1 parent 29b1b63 commit f1b544d
Show file tree
Hide file tree
Showing 6 changed files with 542 additions and 2,604 deletions.
6 changes: 6 additions & 0 deletions .audit-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"moderate": true,
"advisories": [],
"whitelist": [],
"registry": "https://registry.npmjs.org"
}
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: '14.x'

steps:
- name: Check out the code
uses: actions/checkout@v1
uses: actions/checkout@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 14

Expand Down
6 changes: 5 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
module.exports = { extends: ['@commitlint/config-angular'] }
module.exports = {extends: ['@commitlint/config-angular'],
rules: {
'type-enum': [2, 'always', ['build', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test', 'chore']]
}
}
Loading

0 comments on commit f1b544d

Please sign in to comment.