Compare commits

..
2 Commits
Author SHA1 Message Date
fraujulianandClaude Fable 5.2 ecd37584a0 ci: harden release workflow
CI / format (push) Successful in 28s
CI / lint (push) Successful in 35s
CI / typecheck (push) Successful in 35s
CI / test-and-build (push) Successful in 37s
Pin actions to commit SHAs, restrict releases to main, serialize runs
and run the full check before publishing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 15:20:10 +01:00
fraujulianandClaude Fable 5.2 5485b83a79 chore(deps): update dependencies and patch audit findings
CI / format (push) Successful in 29s
CI / lint (push) Successful in 30s
CI / typecheck (push) Successful in 34s
CI / test-and-build (push) Successful in 35s
Update tsup to 9, @discordjs/opus to 0.11 and minor/patch releases.
Override vulnerable glob and minimatch ranges to patched majors.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 10:15:00 +01:00
3 changed files with 592 additions and 895 deletions

No files matched your search

+14 -2
View File
@@ -6,19 +6,25 @@ on:
permissions:
contents: write
# Never run two releases at once: both would publish the same commit under different versions.
concurrency:
group: release
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
fetch-depth: 0
fetch-tags: true
- name: Use Node.js 24.17.0
uses: actions/setup-node@v6
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: '24.17.0'
registry-url: 'https://registry.npmjs.org'
@@ -27,6 +33,9 @@ jobs:
- name: Install Dependencies
run: npm ci
- name: Run Checks
run: npm run check
- name: Set Release Version
run: npm run version:place
env:
@@ -41,6 +50,9 @@ jobs:
- name: Run Build
run: npm run build
# npm trusted publishing (OIDC) does not support Gitea runners, so this uses npm's
# documented fallback: a granular access token scoped to this package, with
# bypass 2FA and a short expiry.
- name: Publish Library
run: npm publish --access public
env:
+566 -883
View File
File diff suppressed because it is too large. Load diff
+12 -10
View File
@@ -67,29 +67,29 @@
]
},
"devDependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/opus": "^0.11.0",
"@jest/globals": "^30.4.1",
"@types/ejs": "^3.1.5",
"@types/node": "^24.19.1",
"@typescript-eslint/eslint-plugin": "^8.71.0",
"@typescript-eslint/parser": "^8.71.0",
"@types/node": "^24.19.2",
"@typescript-eslint/eslint-plugin": "^8.72.2",
"@typescript-eslint/parser": "^8.72.2",
"@typescript/native": "npm:typescript@^7.0.2",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^18.4.0",
"eslint-plugin-n": "^18.5.0",
"eslint-plugin-promise": "^7.3.0",
"eslint-plugin-unused-imports": "^4.4.1",
"husky": "^9.1.7",
"jest": "^30.5.2",
"prettier": "^3.9.9",
"ts-jest": "^29.4.14",
"tsup": "^8.5.1",
"prettier": "^3.10.1",
"ts-jest": "^29.4.15",
"tsup": "^9.0.0",
"typescript": "npm:@typescript/typescript6@^6.0.2"
},
"peerDependencies": {
"@discordjs/opus": "^0.10.0",
"@discordjs/opus": "^0.10.0 || ^0.11.0",
"@discordjs/voice": "^0.19.2",
"ffmpeg-static": "^5.3.0",
"opusscript": "^0.0.8"
@@ -109,7 +109,9 @@
"@discordjs/node-pre-gyp": {
"tar": "^7.5.22"
},
"esbuild": "^0.28.2"
"esbuild": "^0.28.2",
"glob@>=9 <14.0.2": "^14.0.6",
"minimatch@>=7 <11.0.1": "^11.0.8"
},
"engines": {
"node": ">=22.12.0 <25"