Skip to content

Commit

Permalink
Merge branch 'main' of github.com:videojs/monorepo into add-hls-config
Browse files Browse the repository at this point in the history
  • Loading branch information
dzianis-dashkevich committed Jan 10, 2025
2 parents 34c111f + 8aa99f5 commit 95f2cf4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/limit-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@ jobs:
with:
node-version-file: '.nvmrc'

# install deps
# install dependencies
- name: Install Dependencies
run: npm ci

# build all packages
- name: Build All Packages
run: npm run build

# generate size-limit jsons for each package
- name: Generate Size Limit Jsons For All Packages
run: npm run size-limit:json

- name: Size Limit Json
uses: andresz1/size-limit-action@v1.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_step: build
skip_step: install
build_script: size-limit:json
package_manager: npm
script: node cli/prepare-size-limit.js
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"build": "npx nx run-many -t build",
"pack": "npx nx run-many -t pack",
"size-limit:verify": "npx nx run-many -t size-limit:verify",
"presize-limit:json": "npm run build",
"size-limit:json": "npx nx run-many -t size-limit:json",
"size-limit:output-json": "node cli/prepare-size-limit.js",
"prepare": "husky",
Expand Down

0 comments on commit 95f2cf4

Please sign in to comment.