fix: rollout
This commit is contained in:
@@ -20,12 +20,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '24.14.0'
|
node-version: '24.14.0'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
always-auth: true
|
|
||||||
|
|
||||||
- name: Create .npmrc
|
- name: Ensure trusted publishing capable npm
|
||||||
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
|
run: npm install -g npm@^11.5.1
|
||||||
env:
|
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
@@ -47,9 +44,7 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Publish Library
|
- name: Publish Library
|
||||||
run: npm publish
|
run: npm publish --access public
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
env:
|
env:
|
||||||
|
|||||||
+4
-1
@@ -38,7 +38,10 @@
|
|||||||
"build": "del-cli dist && tsup && tsc -p tsconfig.build.json && node scripts/copy-dts.cjs",
|
"build": "del-cli dist && tsup && tsc -p tsconfig.build.json && node scripts/copy-dts.cjs",
|
||||||
"prepare": "husky"
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/FrauJulian/Discord-Audio-Stream",
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/FrauJulian/Discord-Audio-Stream.git"
|
||||||
|
},
|
||||||
"bugs": "https://github.com/FrauJulian/Discord-Audio-Stream/issues",
|
"bugs": "https://github.com/FrauJulian/Discord-Audio-Stream/issues",
|
||||||
"funding": "https://ko-fi.com/FrauJulian",
|
"funding": "https://ko-fi.com/FrauJulian",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user