Skip to content

Commit

Permalink
Merge pull request #301 from manuelc2209/bump/package-json
Browse files Browse the repository at this point in the history
Bump Packages
  • Loading branch information
manuelc2209 authored Oct 11, 2023
2 parents 218ebcf + 2f9025a commit b99fd91
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 123 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

0 comments on commit b99fd91

Please sign in to comment.