Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecd37584a0 | ||
|
|
5485b83a79 |
No files matched your search
@@ -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:
|
||||||
|
|||||||
Generated
+566
-883
File diff suppressed because it is too large.
Load diff
+12
-10
@@ -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.19.1",
|
"@types/node": "^24.19.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.71.0",
|
"@typescript-eslint/eslint-plugin": "^8.72.2",
|
||||||
"@typescript-eslint/parser": "^8.71.0",
|
"@typescript-eslint/parser": "^8.72.2",
|
||||||
"@typescript/native": "npm:typescript@^7.0.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.4.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.5.2",
|
"jest": "^30.5.2",
|
||||||
"prettier": "^3.9.9",
|
"prettier": "^3.10.1",
|
||||||
"ts-jest": "^29.4.14",
|
"ts-jest": "^29.4.15",
|
||||||
"tsup": "^8.5.1",
|
"tsup": "^9.0.0",
|
||||||
"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"
|
||||||
|
|||||||
Reference in new issue
Block a user