Skip to content

Commit

Permalink
chore: remove bundlesize
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Apr 4, 2023
1 parent f2bf36f commit 59a91a7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 691 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@ name: ci
on: push

jobs:
size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: ".nvmrc"

- name: Install
run: yarn install --immutable

- name: Build
run: yarn build

- name: Check size
run: yarn size
test:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"start": "NODE_ENV=production next start",
"test": "jest -c .jest.config.js",
"prettier": "prettier --write \"**/*.*\"",
"size": "bundlesize",
"postinstall": "husky install"
},
"dependencies": {
Expand Down Expand Up @@ -53,7 +52,6 @@
"@types/webpack-bundle-analyzer": "^4.6.0",
"@types/zeit__next-source-maps": "^0.0.2",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"bundlesize": "^0.18.1",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"husky": "^8.0.3",
Expand All @@ -67,11 +65,5 @@
"ts-jest": "^29.1.0",
"typescript": "^5.0.3"
},
"bundlesize": [
{
"path": ".next/static/*/pages/**/*.js",
"maxSize": "300kB"
}
],
"packageManager": "[email protected]"
}
Loading

0 comments on commit 59a91a7

Please sign in to comment.