Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelc2209 committed Oct 11, 2023
1 parent 218ebcf commit be00526
Show file tree
Hide file tree
Showing 5 changed files with 2,412 additions and 653 deletions.
59 changes: 29 additions & 30 deletions .github/workflows/cf-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,44 @@
name: CI/CD

on:
push:
branches: [ master ]
push:
branches: [master]

permissions:
id-token: write
contents: read
id-token: write
contents: read

jobs:
build:
build:
runs-on: ubuntu-latest

runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]

strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install

- name: Install dependencies
run: yarn install
- name: Run the tests
run: yarn test

- name: Run the tests
run: yarn test

- name: Build project
run: yarn build
- name: Build project
run: yarn build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::639172013776:role/github
aws-region: eu-west-1
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::639172013776:role/github
aws-region: eu-west-1

- name: Deploy static site to S3 bucket
run: aws s3 sync ./build/ s3://gh-prd-react-ui-cdn-origin --delete
- name: Deploy static site to S3 bucket
run: aws s3 sync ./build/ s3://gh-prd-react-ui-cdn-origin --delete
70 changes: 0 additions & 70 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

45 changes: 22 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
name: CI/CD

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
build:
runs-on: ubuntu-latest

runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]

strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install

- name: Install dependencies
run: yarn install
- name: Run the tests
run: yarn test

- name: Run the tests
run: yarn test

- name: Build project
run: yarn build
- name: Build project
run: yarn build
58 changes: 30 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@
"type": "git"
},
"dependencies": {
"axios": "^1.1.3",
"babel-loader": "8.2.5",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-typescript": "^7.23.0",
"axios": "^1.5.1",
"babel-loader": "9.1.3",
"color": "4.2.0",
"dayjs": "^1.11.7",
"nanoid": "^4.0.1",
"nanoid": "^5.0.1",
"react": "18.2.0",
"react-router-dom": "6.8.1",
"react-router-dom": "6.16.0",
"react-scripts": "5.0.1",
"react-select": "5.7.0",
"react-test-renderer": "18.2.0",
"storybook": "6.5.12",
"styled-components": "5.3.6",
"typescript": "4.8.4",
"typescript": "5.2.2",
"validate-color": "2.2.1"
},
"scripts": {
Expand Down Expand Up @@ -61,14 +63,14 @@
"not op_mini all"
],
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/plugin-syntax-typescript": "7.18.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/plugin-transform-typescript": "^7.16.8",
"@faker-js/faker": "^8.0.2",
"@babel/core": "^7.23.0",
"@babel/plugin-proposal-export-default-from": "^7.22.17",
"@babel/plugin-syntax-typescript": "7.22.5",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/plugin-transform-typescript": "^7.22.15",
"@faker-js/faker": "^8.1.0",
"@reduxjs/toolkit": "^1.8.6",
"@shopify/eslint-plugin": "42.0.1",
"@shopify/eslint-plugin": "43.0.0",
"@storybook/addon-actions": "^6.4.18",
"@storybook/addon-essentials": "^6.4.18",
"@storybook/addon-links": "^6.4.18",
Expand All @@ -77,25 +79,25 @@
"@storybook/node-logger": "^6.4.18",
"@storybook/preset-create-react-app": "^4.0.0",
"@storybook/react": "6.5.12",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/color": "^3.0.3",
"@types/jest": "29.2.0",
"@types/node": "18.8.5",
"@types/react": "18.0.21",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^17.0.1",
"@types/styled-components": "5.1.26",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@types/jest": "29.5.5",
"@types/node": "20.8.4",
"@types/react": "18.2.28",
"@types/react-dom": "^18.2.13",
"@types/react-test-renderer": "^18.0.3",
"@types/styled-components": "5.1.28",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"cross-env": "7.0.3",
"eslint": "8.25.0",
"husky": "^7.0.4",
"eslint": "8.51.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.2.1",
"jest-environment-jsdom": "^29.4.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.3"
"ts-jest": "^29.1.1"
}
}
Loading

0 comments on commit be00526

Please sign in to comment.