Skip to content

Commit

Permalink
Merge pull request #75 from Williams-RE/test-workflow
Browse files Browse the repository at this point in the history
chore: update folder path
  • Loading branch information
timeowilliams authored Nov 10, 2024
2 parents b0506d0 + 8f45d79 commit e32b9f1
Show file tree
Hide file tree
Showing 50 changed files with 8,510 additions and 160,178 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/build_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,24 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Build project
run: pnpm run build

- name: Analyze and Create Badge
uses: timeowilliams/package-size-badge-action@v1.0.7
with:
path: "build/static/js/*.js"
path: "build"
limit: "800"
label: "Bundle Size"
color: "green"
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ node_modules/
playwright-report
test-results
.env
.DS_Store
.DS_Store
build/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<img alt="package size" src= "https://github.com/Williams-RE/WRE-website/actions/workflows/package_size.yml/badge.svg"/>
<img alt="accessibility" src="https://github.com/Williams-RE/WRE-website/actions/workflows/accessibility.yml/badge.svg">
<img alt="dependabot" src="https://github.com/Williams-RE/WRE-website/actions/workflows/dependabot/dependabot-updates/badge.svg">
<img alt="build size" src="https://github.com/Williams-RE/WRE-website/actions/workflows/build_size.yml/badge.svg">
</p>

To get started, cd into the project and run this:
Expand Down
2 changes: 0 additions & 2 deletions build/118.8b6cc7c8284f76162b46.js

This file was deleted.

72 changes: 0 additions & 72 deletions build/118.8b6cc7c8284f76162b46.js.LICENSE.txt

This file was deleted.

Binary file removed build/118.8b6cc7c8284f76162b46.js.gz
Binary file not shown.
75 changes: 0 additions & 75 deletions build/514.8e5a8904042d7f174b78.css

This file was deleted.

Binary file removed build/514.8e5a8904042d7f174b78.css.gz
Binary file not shown.
1 change: 0 additions & 1 deletion build/514.b543e57d5030f12d9071.js

This file was deleted.

Binary file removed build/514.b543e57d5030f12d9071.js.gz
Binary file not shown.
1 change: 0 additions & 1 deletion build/562.5e1d37e135c8163e7159.js

This file was deleted.

Binary file removed build/562.5e1d37e135c8163e7159.js.gz
Binary file not shown.
161 changes: 0 additions & 161 deletions build/562.ed5116447e6ebea13770.css

This file was deleted.

Binary file removed build/562.ed5116447e6ebea13770.css.gz
Binary file not shown.
1 change: 0 additions & 1 deletion build/620.be8acb3859c09a86af07.js

This file was deleted.

Binary file removed build/620.be8acb3859c09a86af07.js.gz
Binary file not shown.
Loading

0 comments on commit e32b9f1

Please sign in to comment.