Skip to content

Commit

Permalink
chore: checkout package and build
Browse files Browse the repository at this point in the history
  • Loading branch information
williazz committed Mar 29, 2024
1 parent c8c253a commit 3b98b70
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/package-size-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,20 @@ permissions:
pull-requests: write

jobs:
pkg-size-report:
name: Package Size Report
bundle-size-report:
name: Bundle Size Report
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout aws-rum-web
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Package size report
uses: pkg-size/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
hide-files: '!/build/assets/cwr.js'

- name: Install dependencies
run: npm install

- name: Build aws-rum-web bundle
run: npm run build

0 comments on commit 3b98b70

Please sign in to comment.