Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: use github action for bundle size check (#3075)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Jun 15, 2020
1 parent c567282 commit b38c38f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Checks

on: [push]

jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm i
- uses: ipfs/aegir/actions/bundle-size@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions packages/interface-ipfs-core/.aegir.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict'

module.exports = {
bundlesize: { maxSize: '260kB' },
lint: {
files: [
'src/**/*.js',
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"temp-write": "^4.0.0"
},
"devDependencies": {
"aegir": "^22.0.0",
"aegir": "^22.1.0",
"ipfsd-ctl": "^4.1.1"
},
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"ipfs-utils": "^2.2.2"
},
"devDependencies": {
"aegir": "^22.0.0",
"aegir": "^22.1.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"delay": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"stream-to-it": "^0.2.0"
},
"devDependencies": {
"aegir": "^22.0.0",
"aegir": "^22.1.0",
"cross-env": "^7.0.0",
"go-ipfs-dep": "^0.5.1",
"interface-ipfs-core": "^0.136.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"yargs-promise": "^1.1.0"
},
"devDependencies": {
"aegir": "^22.0.0",
"aegir": "^22.1.0",
"base64url": "^3.0.1",
"clear-module": "^4.0.0",
"cross-env": "^7.0.0",
Expand Down

0 comments on commit b38c38f

Please sign in to comment.