mirror of
https://github.com/DeBrosOfficial/network-ts-sdk.git
synced 2025-12-12 18:28:50 +00:00
Update package version to 0.1.3 and modify GitHub Actions workflow to use 'npm run build' and correct package scope
This commit is contained in:
parent
4459fc6c49
commit
dab820bb25
6
.github/workflows/publish-npm.yml
vendored
6
.github/workflows/publish-npm.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
run: npm install --frozen-lockfile
|
run: npm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: npm build
|
run: npm run build
|
||||||
|
|
||||||
- name: Publish to npm
|
- name: Publish to npm
|
||||||
run: npm publish --access public
|
run: npm publish --access public
|
||||||
@ -45,13 +45,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
scope: '@network'
|
scope: 'network-ts-sdk'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install --frozen-lockfile
|
run: npm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Build SDK
|
- name: Build SDK
|
||||||
run: npm build
|
run: npm run build
|
||||||
|
|
||||||
- name: Publish to GitHub Packages
|
- name: Publish to GitHub Packages
|
||||||
run: npm publish
|
run: npm publish
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "network-ts-sdk",
|
"name": "network-ts-sdk",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"description": "TypeScript SDK for DeBros Network Gateway",
|
"description": "TypeScript SDK for DeBros Network Gateway",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user