Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution added to solve vulnerabilities #29

Merged
merged 7 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: [ self-hosted, linux ]
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: UI-Kit
name: react-rollup-boilerplate

on:
pull_request:
branches: [ main ]

jobs:
continuous-integration:
runs-on: [ self-hosted, linux ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16.x

- name: Install dependencies
run: |
corepack enable
yarn install --frozen-lockfile

- name: Run Continuous Integration
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on:
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v2
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"react": "18.x",
"react-dom": "18.x"
},
"dependencies": {
"classnames": "^2.3.2"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/eslint-parser": "^7.19.1",
Expand All @@ -68,7 +71,6 @@
"@storybook/addon-controls": "^6.5.12",
"@storybook/addon-docs": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.5.12",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.5.12",
Expand Down Expand Up @@ -150,7 +152,14 @@
"webpack": "^5.74.0",
"yarn-audit-fix": "^9.3.6"
},
"dependencies": {
"classnames": "^2.3.2"
"resolutions": {
"node-fetch": "^2.6.7",
"glob-parent": "^6.0.1",
"highlight.js": "^11.6.0",
"prismjs": "^1.21.0",
"got": "^11.8.5",
"trim-newlines": "^3.0.1",
"trim": "^0.0.3",
"postcss": "^8.4.17"
}
}
Loading