Skip to content

Commit

Permalink
Merge pull request #29 from KaiHotz/resolution_added_to_solve_vulnera…
Browse files Browse the repository at this point in the history
…bilities

Resolution added to solve vulnerabilities
  • Loading branch information
KaiHotz authored Oct 12, 2022
2 parents c01ddb3 + 4f811ea commit c678661
Show file tree
Hide file tree
Showing 5 changed files with 1,017 additions and 1,495 deletions.
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

0 comments on commit c678661

Please sign in to comment.