Skip to content

Commit

Permalink
codecov: bundle analysis (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
crlssn authored Dec 3, 2024
1 parent d05551e commit f91e0d5
Show file tree
Hide file tree
Showing 5 changed files with 354 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/deploy/web/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
aws_bucket_name:
description: "AWS S3 Bucket Name"
required: true
codecov_token:
description: "Codecov Token"
required: true

runs:
using: 'composite'
Expand All @@ -31,6 +34,8 @@ runs:
working-directory: ./web
run: npm run build
shell: bash
env:
CODECOV_TOKEN: ${{ inputs.codecov_token }}

- name: Deploy to S3
working-directory: ./web
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ vars.AWS_REGION }}
aws_bucket_name: ${{ vars.AWS_BUCKET_NAME }}
codecov_token: ${{ secrets.CODECOV_TOKEN }}

- name: Remove deploy label
if: github.event_name == 'pull_request' && github.event.label.name == 'deploy'
Expand Down
Loading

0 comments on commit f91e0d5

Please sign in to comment.