Compare commits

..
5 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
fraujulian fdaa30af1a ci: parallelize Gitea validation jobs
CI / format (push) Successful in 1m45s
CI / lint (push) Successful in 1m44s
CI / typecheck (push) Successful in 58s
CI / test-and-build (push) Successful in 1m25s
2026-10-02 13:17:12 +02:00
fraujulian 94bb33308a ci: label release workflow as CD 2026-10-02 13:16:20 +02:00
fraujulian a5b17dfd2a chore(deps): update dependencies
Build Validation / build (push) Successful in 37s
2026-10-02 12:44:00 +02:00
4 changed files with 1900 additions and 1978 deletions

No files matched your search

+15 -3
View File
@@ -1,4 +1,4 @@
name: Release and Deploy Build name: CD
on: on:
workflow_dispatch: workflow_dispatch:
@@ -6,19 +6,25 @@ on:
permissions: permissions:
contents: write 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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with: with:
fetch-depth: 0 fetch-depth: 0
fetch-tags: true fetch-tags: true
- name: Use Node.js 24.17.0 - name: Use Node.js 24.17.0
uses: actions/setup-node@v6 uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with: with:
node-version: '24.17.0' node-version: '24.17.0'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
@@ -27,6 +33,9 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm ci
- name: Run Checks
run: npm run check
- name: Set Release Version - name: Set Release Version
run: npm run version:place run: npm run version:place
env: env:
@@ -41,6 +50,9 @@ jobs:
- name: Run Build - name: Run Build
run: npm 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 - name: Publish Library
run: npm publish --access public run: npm publish --access public
env: env:
+58 -5
View File
@@ -1,4 +1,4 @@
name: Build Validation name: CI
on: on:
workflow_dispatch: workflow_dispatch:
@@ -6,10 +6,9 @@ on:
branches: branches:
- main - main
pull_request: pull_request:
types: [opened, synchronize, reopened]
jobs: jobs:
build: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
@@ -23,8 +22,62 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm ci
- name: Run Checks - name: Check Version
run: npm run check run: npm run version:check
- name: Check Formatting
run: npm run format:check
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 24.17.0
uses: actions/setup-node@v4
with:
node-version: '24.17.0'
- name: Install Dependencies
run: npm ci
- name: Run Lint
run: npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 24.17.0
uses: actions/setup-node@v4
with:
node-version: '24.17.0'
- name: Install Dependencies
run: npm ci
- name: Run Type Check
run: npm run typecheck
test-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Use Node.js 24.17.0
uses: actions/setup-node@v4
with:
node-version: '24.17.0'
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm test -- --runInBand
- name: Run Build - name: Run Build
run: npm run build run: npm run build
+1813 -1958
View File
File diff suppressed because it is too large. Load diff
+14 -12
View File
@@ -67,29 +67,29 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@discordjs/opus": "^0.10.0", "@discordjs/opus": "^0.11.0",
"@jest/globals": "^30.4.1", "@jest/globals": "^30.4.1",
"@types/ejs": "^3.1.5", "@types/ejs": "^3.1.5",
"@types/node": "^24.0.0", "@types/node": "^24.19.2",
"@typescript-eslint/eslint-plugin": "^8.67.0", "@typescript-eslint/eslint-plugin": "^8.72.2",
"@typescript-eslint/parser": "^8.67.0", "@typescript-eslint/parser": "^8.72.2",
"@typescript/native": "npm:typescript@^7.0.2",
"eslint": "^9.39.5", "eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5", "eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0", "eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^18.3.0", "eslint-plugin-n": "^18.5.0",
"eslint-plugin-promise": "^7.3.0", "eslint-plugin-promise": "^7.3.0",
"eslint-plugin-unused-imports": "^4.4.1", "eslint-plugin-unused-imports": "^4.4.1",
"husky": "^9.1.7", "husky": "^9.1.7",
"jest": "^30.4.2", "jest": "^30.5.2",
"prettier": "^3.9.6", "prettier": "^3.10.1",
"ts-jest": "^29.4.12", "ts-jest": "^29.4.15",
"tsup": "^8.5.1", "tsup": "^9.0.0",
"@typescript/native": "npm:typescript@^7.0.2",
"typescript": "npm:@typescript/typescript6@^6.0.2" "typescript": "npm:@typescript/typescript6@^6.0.2"
}, },
"peerDependencies": { "peerDependencies": {
"@discordjs/opus": "^0.10.0", "@discordjs/opus": "^0.10.0 || ^0.11.0",
"@discordjs/voice": "^0.19.2", "@discordjs/voice": "^0.19.2",
"ffmpeg-static": "^5.3.0", "ffmpeg-static": "^5.3.0",
"opusscript": "^0.0.8" "opusscript": "^0.0.8"
@@ -109,7 +109,9 @@
"@discordjs/node-pre-gyp": { "@discordjs/node-pre-gyp": {
"tar": "^7.5.22" "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": { "engines": {
"node": ">=22.12.0 <25" "node": ">=22.12.0 <25"