Fix Repository Settings?

This commit is contained in:
KillerBossOrig 2023-09-03 16:13:59 +02:00
parent d56eb00801
commit aade8a4107
3 changed files with 3 additions and 29 deletions

View file

@ -1,26 +0,0 @@
name: Publish to NPM
on:
release:
types: [created]
jobs:
Publish-NPM:
runs-on: node1
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: '@thundernetworkrad'
- name: Install Dependencies
run: npm i
- name: Build
run: npm run build
- name: Publish package on NPM 📦
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
REGISTRY1: 'registry.npmjs.org'
REGISTRY2: 'registry=https://registry.npmjs.org/'

4
.npmrc
View file

@ -1,2 +1,2 @@
//${REGISTRY1}/:_authToken=${NODE_AUTH_TOKEN}
${REGISTRY2}
registry=https://source.thundernetwork.org/api/packages/ThunderNetworkRaD/npm/
//registry.npmjs.org/

View file

@ -1,6 +1,6 @@
{
"name": "node-cout",
"version": "2023.09.02",
"version": "2023.09.03",
"description": "Standard output module for JavaScript / TypeScript",
"main": "build/index.js",
"types": "build/index.d.ts",