Fix Repository Settings?
This commit is contained in:
parent
d56eb00801
commit
aade8a4107
3 changed files with 3 additions and 29 deletions
26
.github/workflows/npm-publish.yml
vendored
26
.github/workflows/npm-publish.yml
vendored
|
@ -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
4
.npmrc
|
@ -1,2 +1,2 @@
|
||||||
//${REGISTRY1}/:_authToken=${NODE_AUTH_TOKEN}
|
registry=https://source.thundernetwork.org/api/packages/ThunderNetworkRaD/npm/
|
||||||
${REGISTRY2}
|
//registry.npmjs.org/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "node-cout",
|
"name": "node-cout",
|
||||||
"version": "2023.09.02",
|
"version": "2023.09.03",
|
||||||
"description": "Standard output module for JavaScript / TypeScript",
|
"description": "Standard output module for JavaScript / TypeScript",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"types": "build/index.d.ts",
|
"types": "build/index.d.ts",
|
||||||
|
|
Loading…
Reference in a new issue