Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vpalmisano committed Jan 28, 2025
1 parent 8709429 commit f96bfd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
restore-keys: |
${{ runner.os }}-node-modules-${{ hashFiles('./package.json') }}-
- name: Yarn build
run: yarn install --frozen-lockfile --cache-folder ./.yarn-cache
run: yarn install --frozen-lockfile --cache-folder ./.yarn-cache && yarn build

- name: Get package version
id: get_package_version
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"start": "node app.min.js",
"start:dev": "tsc -b && node build/src/app.js",
"test": "",
"build": "yarn lint && tsc -b && webpack",
"build:docker": "yarn && docker build --platform linux/amd64 -t ghcr.io/vpalmisano/webrtcperf:devel .",
"push:docker": "docker push ghcr.io/vpalmisano/webrtcperf:devel",
"build:docker-ffmpeg": "docker build --platform linux/amd64 -t ghcr.io/vpalmisano/webrtcperf-ffmpeg:devel -f Dockerfile.ffmpeg .",
Expand All @@ -44,16 +45,16 @@
"clean": "rm -rf app.min.js build _docs",
"lint": "eslint src scripts examples",
"lint:fix": "yarn lint --fix",
"docs": "tsc -b && node build/src/generate-config-docs.js && typedoc",
"docs": "yarn build && node build/src/generate-config-docs.js && typedoc",
"build:linux": "nexe --make=\"-j$(nproc 2> /dev/null || echo 1)\" --verbose --build -i app.min.js -o webrtcperf -r 'scripts/*' -r package.json && gzip -9 -c webrtcperf > webrtcperf_${npm_package_version}_linux.gz",
"build:macos": "nexe --target mac-x64-14.15.3 -i app.min.js -o webrtcperf -r 'scripts/*' -r package.json && gzip -9 -c webrtcperf > webrtcperf_${npm_package_version}_macos.gz && rm webrtcperf",
"build:windows": "nexe --target windows-x64-14.15.3 -i app.min.js -o webrtcperf -r 'scripts/*' -r package.json && zip webrtcperf_${npm_package_version}_windows.zip webrtcperf.exe && rm webrtcperf.exe",
"build:all": "yarn && yarn build:linux && yarn build:macos && yarn build:windows"
"build:all": "yarn && yarn build && yarn build:linux && yarn build:macos && yarn build:windows"
},
"license": "AGPL-3.0-or-later",
"dependencies": {
"@puppeteer/browsers": "^2.4.0",
"@vpalmisano/throttler": "https://github.com/vpalmisano/throttler#3141878acc9675aec06c525b15b4a7ea43ae296e",
"@vpalmisano/throttler": "https://github.com/vpalmisano/throttler#286bd122a5eeeb7aace01b47f4b0d4d166857ac5",
"axios": "^1.7.7",
"chalk": "^4.1.2",
"change-case": "^4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -952,9 +952,9 @@
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8"
integrity sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==

"@vpalmisano/throttler@https://github.com/vpalmisano/throttler#3141878acc9675aec06c525b15b4a7ea43ae296e":
"@vpalmisano/throttler@https://github.com/vpalmisano/throttler#286bd122a5eeeb7aace01b47f4b0d4d166857ac5":
version "0.0.4"
resolved "https://github.com/vpalmisano/throttler#3141878acc9675aec06c525b15b4a7ea43ae296e"
resolved "https://github.com/vpalmisano/throttler#286bd122a5eeeb7aace01b47f4b0d4d166857ac5"
dependencies:
change-case "^4.1.2"
convict "^6.2.4"
Expand Down

0 comments on commit f96bfd8

Please sign in to comment.