-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from peaqnetwork/fix/1205230144231031_npm-publi…
…sh-flow Fix/1205230144231031 npm publish flow
- Loading branch information
Showing
3 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,25 @@ jobs: | |
registry-url: 'https://registry.npmjs.org' | ||
scope: 'nhussain' | ||
#- run: npm ci | ||
- run: npm install | ||
#- run: npm install | ||
- name: get-npm-version | ||
id: package-version | ||
uses: martinbeentjes/[email protected] | ||
with: | ||
path: ./packages/${{ matrix.packages }} | ||
- name: Install Nx CLI | ||
run: npm install -g nx | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build Nx Project | ||
run: nx build @peaq-network/${{ matrix.packages }} | ||
- name: Authenticate with private NPM package | ||
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc | ||
- name: Publish ${{ matrix.packages }} | ||
working-directory: ./packages/${{ matrix.packages }} | ||
#working-directory: ./packages/ | ||
run: | | ||
npm publish | ||
node tools/scripts/publish.mjs @peaq-network/${{ matrix.packages }} ${{ steps.package-version.outputs.current-version}} latest | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"author": "peaq network <[email protected]>", | ||
"name": "@peaq-network/sdk", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "peaq network sdk", | ||
"license": "Apache-2.0", | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"author": "peaq network <[email protected]>", | ||
"name": "@peaq-network/types", | ||
"version": "0.3.0", | ||
"version": "0.4.5", | ||
"license": "Apache-2.0", | ||
"description": "Typescript definitions for the peaq network", | ||
"repository": { | ||
|