Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 2921a5a

Browse files
Gimleuxsnyk-botdependabot[bot]qvalentin
authored
Deps/renovate snyk dependabot (#284)
* fix: webapp_provider/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-EXPAT-2331811 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-2340908 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-2340908 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-2340922 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-2340922 * Bump follow-redirects from 1.14.7 to 1.14.8 Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Updated Dependencies * Update Storybook deps * Updated react-scripts * edit .github yaml * edit .github yaml * remove patch uptades in package.json * set Dockerfile nginx to latest * npx sb upgrade Co-authored-by: snyk-bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: qvalentin <[email protected]>
1 parent 2aade85 commit 2921a5a

File tree

12 files changed

+16876
-61133
lines changed

12 files changed

+16876
-61133
lines changed

.github/workflows/featureRelease.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ jobs:
2424
uses: actions/setup-node@v2
2525
with:
2626
node-version: 16
27-
cache: 'npm'
27+
cache: 'yarn'
2828
-
2929
name: Checkout frontend
3030
run: |
31-
npm ci
31+
yarn install --immutable --immutable-cache --check-cache
3232
-
3333
name: Update Sonar
3434
run: |
35-
npm run-script sonar
35+
yarn run sonar
3636
env:
3737
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
3838
SONAR_PASSWORD: ${{ secrets.SONAR_PASSWORD }}
3939
-
4040
name: Build frontend
4141
run: |
42-
npm run-script build
42+
yarn run build
4343
cp -r build webapp_provider/public
4444
-
4545
name: Login to DockerHub

.github/workflows/latestRelease.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ jobs:
2121
uses: actions/setup-node@v2
2222
with:
2323
node-version: 16
24-
cache: 'npm'
24+
cache: 'yarn'
2525
-
2626
name: Checkout frontend
2727
run: |
28-
npm ci
28+
yarn install --immutable --immutable-cache --check-cache
2929
-
3030
name: Update Sonar
3131
run: |
32-
npm run-script sonar
32+
yarn run sonar
3333
env:
3434
SONAR_LOGIN: ${{ secrets.SONAR_LOGIN }}
3535
SONAR_PASSWORD: ${{ secrets.SONAR_PASSWORD }}
3636
-
3737
name: Build Frontend
3838
run: |
39-
npm run-script build
39+
yarn run build
4040
cp -r build webapp_provider/public
4141
-
4242
name: Login to DockerHub

.github/workflows/stableRelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
uses: actions/setup-node@v2
1616
with:
1717
node-version: 16
18-
cache: 'npm'
18+
cache: 'yarn'
1919
- name: Build frontend
2020
run: |
21-
npm ci
22-
npm run-script build
21+
yarn install --immutable --immutable-cache --check-cache
22+
yarn run build
2323
cp -r build webapp_provider/public
2424
- name: Login to DockerHub
2525
uses: docker/login-action@v1

.github/workflows/storybookBuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
uses: actions/setup-node@v2
1616
with:
1717
node-version: 16
18-
cache: 'npm'
18+
cache: 'yarn'
1919
- name: Build storybook
2020
run: |
21-
npm ci
22-
npm run build-storybook
21+
yarn install --immutable --immutable-cache --check-cache
22+
yarn run build-storybook
2323
cp -r storybook-static storybook_provider/public
2424
- name: Login to DockerHub
2525
uses: docker/login-action@v1

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
uses: actions/setup-node@v2
1818
with:
1919
node-version: 16
20-
cache: 'npm'
20+
cache: 'yarn'
2121
# Install NPM dependencies, build the webpage and start it
2222
# and run all Cypress tests
2323
- name: Start FE and run jest tests
2424
run: |
25-
npm ci
26-
npm test -- --watchAll=false
27-
npm start &
25+
yarn install --immutable --immutable-cache --check-cache
26+
yarn test -- --watchAll=false
27+
yarn start &
2828
- name: Wait
2929
uses: iFaxity/wait-on-action@v1
3030
with:

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"bracketSpacing": true,
1010
"bracketSameLine": false,
1111
"arrowParens": "always",
12-
"parser": "typescript",
12+
"parser": "typescript"
1313
}

.storybook/main.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
module.exports = {
2-
stories: [
3-
"../src/**/*.stories.mdx",
4-
"../src/**/*.stories.@(js|jsx|ts|tsx)"
5-
],
6-
addons: [
7-
"@storybook/addon-links",
8-
"@storybook/addon-essentials",
9-
"@storybook/preset-create-react-app"
10-
],
11-
typescript: {
12-
reactDocgen: "none"
13-
}
14-
};
2+
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
3+
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/preset-create-react-app"],
4+
typescript: {
5+
reactDocgen: "none"
6+
},
7+
core: {
8+
builder: "webpack5"
9+
}
10+
};

0 commit comments

Comments
 (0)