Skip to content

Commit

Permalink
chore: update GitHub Actions CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetayqy committed Sep 23, 2024
1 parent 8ca08ac commit 0e6ff31
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: [20, 22]
name: Run tests on ${{ matrix.os }}
name: Run tests on ${{ matrix.os }} with Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Codebase
Expand All @@ -24,7 +24,7 @@ jobs:
scans:
# do code scanning stuff here
needs: test
name: Run code scanning tools here
name: Code Scanning
runs-on: ubuntu-latest
steps:
- name: Checkout Codebase
Expand All @@ -34,7 +34,7 @@ jobs:
# build stuff here
needs: test
environment: staging
name: Build necessary components here
name: Build and Deploy Staging Environment
runs-on: ubuntu-latest
steps:
- name: Checkout Codebase
Expand All @@ -55,15 +55,15 @@ jobs:
npm i
npm run build
- name: Upload to S3
working-directory: peer-prep
working-directory: peer-prep/dist
run: |
aws s3 sync . s3://peerprep-frontend-bucket
build-production:
# build stuff here
needs: build-staging
environment: production
name: Build necessary components here
name: Build for Production Environment
runs-on: ubuntu-latest
steps:
- name: Checkout Codebase
Expand All @@ -86,7 +86,7 @@ jobs:
npm i
npm run build
- name: Upload to S3
working-directory: peer-prep
working-directory: peer-prep/dist
run: |
aws s3 sync . s3://peerprep-frontend-bucket
Expand All @@ -95,7 +95,7 @@ jobs:
needs:
- build-staging
- build-production
name: Build images here
name: Build Staging Images
runs-on: ubuntu-latest
steps:
- name: Checkout Codebase
Expand Down

0 comments on commit 0e6ff31

Please sign in to comment.